Toggle Group
Group of mutually-exclusive or multi-select toggle buttons.
Generado a partir del código fuente público del paquete.
API
Itemcomponente
Item(props: ToggleGroupItemProps): Element
Propiedades
class?stringdisabled?booleanstyle?string | CSSPropertiesvaluestring— The value this item represents.
hijos: Element
Rootcomponente
Root(props: ToggleGroupRootProps): Element
Propiedades
class?stringdefaultValue?string[]— Default value (uncontrolled).disabled?booleanonValueChange?(value: string[]) => void— Called when the selected values change.orientation?"horizontal" | "vertical"— Layout orientation.style?string | CSSPropertiestype?"single" | "multiple"— Selection mode: "single" allows one active item, "multiple" allows many.value?Accessor<string[] | undefined>— Controlled value.
hijos: Element
ToggleGroupItemPropsinterfaz
Propiedades
class?stringdisabled?booleanstyle?string | CSSPropertiesvaluestring— The value this item represents.
hijos: Element
ToggleGroupRootPropsinterfaz
Propiedades
class?stringdefaultValue?string[]— Default value (uncontrolled).disabled?booleanonValueChange?(value: string[]) => void— Called when the selected values change.orientation?"horizontal" | "vertical"— Layout orientation.style?string | CSSPropertiestype?"single" | "multiple"— Selection mode: "single" allows one active item, "multiple" allows many.value?Accessor<string[] | undefined>— Controlled value.
hijos: Element