naive-ui/demo/documentation/components/grid/enUS/index.demo-entry.md
2020-12-12 14:44:44 +08:00

36 lines
703 B
Markdown

# Grid
<!--single-column-->
A basic grid system.
## Demos
```demo
basic
gutter
offset
push-pull
```
## Props
### Row Props
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| gutter | `number \| string \| [number, number] \| [string, string]` | `0` | `horizontal gutter` or `[horizontal gutter, vertical gutter]` |
### Col Props
| Name | Type | Default | Description |
| ------ | -------- | ------- | ----------- |
| span | `number` | `1` | |
| offset | `number` | `0` | |
| push | `number` | `0` | |
| pull | `number` | `0` | |
## Notes
The grid is not responsive, for I have not enough time, ha...