ItemCardGroup
Loading example…
Rows grouped inside a single card (settings, clients, services), with an optional heading.
Import
Section titled “Import”import { ItemCardGroup } from "@jcsoftdev/ui/containers";Single-component entry points tree-shake to just this component: @jcsoftdev/ui/containers/item-card-group.
<ItemCardGroup title="Servicios y ajustes" description="Lo que ven tus clientes al reservar" items={items}/>| Prop | Type | Default | Description |
|---|---|---|---|
title |
ReactNode |
||
description |
ReactNode |
||
items * |
ItemCardGroupItem[] |
||
selectedId |
string |
Id of the highlighted row. |
* marks a required prop.
It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/containers/item-card-group/item-card-group.tsx