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