fix accordion typing
This commit is contained in:
parent
1294ffaa94
commit
9bf53eb43a
@ -194,10 +194,10 @@ class AccordionItem(AccordionComponent):
|
||||
disabled: Var[bool]
|
||||
|
||||
# The header of the accordion item.
|
||||
header: Var[Optional[Component | Var]] = None
|
||||
header: Var[Optional[Union[Component, str]]] = None
|
||||
|
||||
# The content of the accordion item.
|
||||
content: Var[Optional[Component | Var]] = None
|
||||
content: Var[Optional[Union[Component, str]]] = None
|
||||
|
||||
_valid_children: List[str] = [
|
||||
"AccordionHeader",
|
||||
|
Loading…
Reference in New Issue
Block a user