Card List
Renders a section of card containing a list of items with the option of having or not having a separator and a vertical scrolling bar
- Import
import { CardList } from '@smile/haring-react'; - Extends ScrollArea
- Source View Source Code
- Package @smile/haring-react
- Storybook Storybook
Storybook Docs
Props
| Name | Type | Default | Description |
|---|---|---|---|
| children * | ReactNode[] | - | Table of items to be displayed in the component's list. |
| separator | boolean | true | Enable or disable the display of the separator between items. |
| gap | MantineSpacing | "xl" | Space between items. |
| stackProps | stackProps | - | Allows access to the props of the sub-component Stack. |
| ... | - | Extends ScrollArea props from Mantine |