ListItemSwitch
Install
yarn add @ntds/listImport
import { ListItemSwitch } from '@ntds/list';Props
| Prop | Type | Default | Description |
|---|---|---|---|
id | string | — | Unique identifier for the list item switch. |
switchProps | SwitchProps | — | Props to pass to the Switch component. |
icon? | FC<IconProps> | ReactNode | — | An icon to display to the left of the title. |
title | ReactNode | — | Title of the list item |
subTitle? | ReactNode | — | Subtitle of the list item, displayed below the title. |