@spark-web/toggle-group
v0.0.1
Published
--- title: ToggleGroup storybookPath: forms-toggle-group isExperimentalPackage: true ---
Downloads
8
Readme
title: ToggleGroup storybookPath: forms-toggle-group isExperimentalPackage: true
Example
<ToggleGroup
value={value}
onValueChange={(newValue) => setValue(newValue)}
>
<ToggleGroupItem value="1">
<ToggleGroupItem value="2">
<ToggleGroupItem value="3">
</ToggleGroup>
Props
ToggleGroup
| Prop | Type | Default | Description | | ----- | -------------------------------------- | ------- | -------------------------------------- | | data? | DataAttributeMap | | Sets data attributes on the component. |