fix: Adding code comments for segmented control type (#3935)
* fix: Adding code comments for segmented control type * fix: Manually adding info about type
This commit is contained in:
parent
fe9f3a7088
commit
5f12243fe4
@ -23,6 +23,7 @@ class SegmentedControlRoot(RadixThemesComponent):
|
||||
# Variant of button: "classic" | "surface"
|
||||
variant: Var[Literal["classic", "surface"]]
|
||||
|
||||
# The type of the segmented control, either "single" for selecting one option or "multiple" for selecting multiple options.
|
||||
type: Var[Literal["single", "multiple"]]
|
||||
|
||||
# Override theme color for button
|
||||
|
@ -161,6 +161,7 @@ class SegmentedControlRoot(RadixThemesComponent):
|
||||
*children: Child components.
|
||||
size: The size of the segmented control: "1" | "2" | "3"
|
||||
variant: Variant of button: "classic" | "surface"
|
||||
type: The type of the segmented control, either "single" for selecting one option or "multiple" for selecting multiple options.
|
||||
color_scheme: Override theme color for button
|
||||
radius: The radius of the segmented control: "none" | "small" | "medium" | "large" | "full"
|
||||
default_value: The default value of the segmented control.
|
||||
|
Loading…
Reference in New Issue
Block a user