@snack-uikit/info-block
v0.3.5
Published
## Installation `npm i @snack-uikit/info-block`
Downloads
1,112
Readme
Info Block
Installation
npm i @snack-uikit/info-block
InfoBlock
Props
| name | type | default value | description |
|------|------|---------------|-------------|
| title | string
| - | Заголовок |
| description | ReactNode
| - | Подзаголовок |
| icon | Pick<IconPredefinedProps, "icon" \| "decor" \| "appearance">
| - | Иконка |
| size | enum Size: "s"
, "m"
, "l"
| - | Размер |
| align | enum Align: "horizontal"
, "vertical"
| - | Расположение элементов |
| footer | ReactNode \| ReactElement<FooterProps, ({ primaryButton, secondaryButton, className }: FooterProps) => Element>
| - | Вложенный Footer |
| className | string
| - | CSS-класс |