Icon card
Renders a horizontal bar displaying the number of selected elements and an
array of IActions as
ActionIcons
- Import
import { IconCard } from '@smile/haring-react'; - Extends Card
- Source View Source Code
- Package @smile/haring-react
- Storybook Storybook
Storybook Docs
Props
| Name | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | - | Free area in the lower zone of the map |
| icon | ReactNode | - | Area in the top of the map primarily used for displaying icons but can show anything that corresponds to the ReactNode type |
| subTitle | ReactNode | - | SubTitle area |
| title | ReactNode | - | TItle area |
| color | string | - | Define the background color of the card. By default, the primary color is applied. Auto-contrast is used to automatically change the text color |
| ... | - | - | extends card props. |