eo-easy-view
<eo-easy-view>
Alias:
<containers.easy-view>
基于网格的简易布局容器。
Examples
GridAreas & GridTemplateRows
Grid Template Areas
Container Style
Properties
Name | Description | Type | Default | Required |
---|---|---|---|---|
gridAreas | 以键值对形式定义多个 grid-area | Record<string, (string | number)[]> | ||
gridTemplateAreas | string[][] | |||
gridTemplateColumns | string | string[] | |||
gridTemplateRows | string | string[] | |||
containerStyle | 定义网格容器的样式 | React.CSSProperties | ||
styleByAreas | 定义网格内各区域的样式 | Record<string, React.CSSProperties> |