Update list high-level API (#543)
This commit is contained in:
parent
6c81a5bf94
commit
b4fb0df9ea
@ -34,7 +34,7 @@ class List(ChakraComponent):
|
||||
if len(children) == 0:
|
||||
children = []
|
||||
for item in items or []:
|
||||
children.append(ListItem.create(*item))
|
||||
children.append(ListItem.create(item))
|
||||
return super().create(*children, **props)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user