fix: Adding in-line comments for the segmented control: value and (#3933)
on_change
This commit is contained in:
parent
da973299f2
commit
37920d6a83
@ -34,8 +34,10 @@ class SegmentedControlRoot(RadixThemesComponent):
|
|||||||
# The default value of the segmented control.
|
# The default value of the segmented control.
|
||||||
default_value: Var[Union[str, List[str]]]
|
default_value: Var[Union[str, List[str]]]
|
||||||
|
|
||||||
|
# The current value of the segmented control.
|
||||||
value: Var[Union[str, List[str]]]
|
value: Var[Union[str, List[str]]]
|
||||||
|
|
||||||
|
# Handles the `onChange` event for the SegmentedControl component.
|
||||||
on_change: EventHandler[lambda e0: [e0]]
|
on_change: EventHandler[lambda e0: [e0]]
|
||||||
|
|
||||||
_rename_props = {"onChange": "onValueChange"}
|
_rename_props = {"onChange": "onValueChange"}
|
||||||
|
@ -164,6 +164,7 @@ class SegmentedControlRoot(RadixThemesComponent):
|
|||||||
color_scheme: Override theme color for button
|
color_scheme: Override theme color for button
|
||||||
radius: The radius of the segmented control: "none" | "small" | "medium" | "large" | "full"
|
radius: The radius of the segmented control: "none" | "small" | "medium" | "large" | "full"
|
||||||
default_value: The default value of the segmented control.
|
default_value: The default value of the segmented control.
|
||||||
|
value: The current value of the segmented control.
|
||||||
style: The style of the component.
|
style: The style of the component.
|
||||||
key: A unique key for the component.
|
key: A unique key for the component.
|
||||||
id: The id for the component.
|
id: The id for the component.
|
||||||
|
Loading…
Reference in New Issue
Block a user