DefaultListLayout
Install
yarn add @ntds/listImport
import { DefaultListLayout } from '@ntds/list';Props
| Prop | Type | Default | Description |
|---|---|---|---|
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. |
rightItem? | ReactNode | — | An item displayed on the right side of the list item. This can be an icon, button, switch, or any other React node. |