zent
Version:
一套前端设计语言和基于React的实现
28 lines (20 loc) • 734 B
Markdown
title: Layout
path: component/layout
group: Basics
## Layout
Nestable grid system of zent, based on `float` and `calc(width)`
### API
#### Row
| Props | Description | Type | Default |
| --------- | ------ | ------ | -------- |
| className | custom classname | string | |
| prefix | custom prefix | string | `'zent'` |
#### Col
| Props | Description | Type | Default |
| --------- | ---------- | ------ | -------- |
| span | column's grid number, 24 level | number | |
| offset | column's offset number, 24 level | number | |
| className | custom classname | string | |
| prefix | custom prefix | string | `'zent'` |