mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
36 lines
703 B
Markdown
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...
|