Norsk Tipping Design System

ListItemSwitch

Install

yarn add @ntds/list

Import

import { ListItemSwitch } from '@ntds/list';

Props

PropTypeDefaultDescription
idstring—Unique identifier for the list item switch.
switchPropsSwitchProps—Props to pass to the Switch component.
icon?FC<IconProps> | ReactNode—An icon to display to the left of the title.
titleReactNode—Title of the list item
subTitle?ReactNode—Subtitle of the list item, displayed below the title.

On this page