SwitchInput
SwitchInput is a sub-component that is used to define the input within the Switch component.
All docs for SwitchInput will use the Switch component as a parent. This is to ensure that the SwitchInput is rendered correctly and is provided the correct context.
Basic Usage
import { Switch, SwitchInput } from '@krakentech/coral';
<Switch>
<SwitchInput />
</Switch>Full API
| Name | Type | Default |
|---|---|---|
ariaLabelledBy | stringThe ID of the element containing the description for the switch. |
Last updated on