naive-ui/demo/documentation/components/table/enUS/index.md
2020-03-03 18:08:58 +08:00

25 lines
537 B
Markdown

# Table
<!--single-column-->
If you only want to render some basic table, use it. If you want to render structured data, see <n-a to="n-data-table">Data Table</n-a>.
## Demos
```demo
basic
bordered
size
single-column
single-line
```
## Components
You can use `n-table`, `n-thead`, `n-tbody`, `n-tr`, `n-th` and `n-td`.
## Props
### Table Props
|Name|Type|Default|Description|
|-|-|-|-|
|bordered|`boolean`|`true`||
|single-line|`boolean`|`true`||
|single-column|`boolean`|`false`||
|size|`'small' \| 'medium' \| 'large'`|`'medium'`||