Skip to content

Commit

Permalink
Merge pull request #1728 from s2terminal/main
Browse files Browse the repository at this point in the history
fix TabPanels.value type hint
  • Loading branch information
falkoschindler authored Oct 2, 2023
2 parents 5f7a68e + 8daac82 commit 6d6af6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nicegui/elements/tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class TabPanels(ValueElement):

def __init__(self,
tabs: Tabs, *,
value: Union[Tab, TabPanel, None] = None,
value: Union[Tab, TabPanel, str, None] = None,
on_change: Optional[Callable[..., Any]] = None,
animated: bool = True,
keep_alive: bool = True,
Expand Down

0 comments on commit 6d6af6b

Please sign in to comment.