import Container from 'nes-design/es/Container'; OR import { Container } from 'nes-design';
Prop / 参数 | Description / 描述 | Type / 类型 | Default / 默认值 |
---|---|---|---|
theme | container theme / 容器主题 | 'dark' | - |
title | container top title | React.ReactNode | - |
htmlTitle | div tag html title | string | - |
center | container title/content center | boolean | - |
round | container shape / 容器形状 | boolean | - |
...rest | more attrs | React.HTMLAttributes<HTMLDivElement> | - |