mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
docs(skeleton): api table (#638)
This commit is contained in:
parent
db50008b9a
commit
d7327d9b49
@ -13,13 +13,13 @@ size
|
||||
## Props
|
||||
|
||||
| Name | Type | Default | Description |
|
||||
| -------- | -------------------------------- | ----------- | ----------- |
|
||||
| text | `boolean` | `false` | |
|
||||
| round | `boolean` | `false` | |
|
||||
| circle | `boolean` | `false` | |
|
||||
| height | `string \| number` | `undefined` | |
|
||||
| width | `string \| number` | `undefined` | |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `undefined` | |
|
||||
| repeat | `string \| number` | `1` | |
|
||||
| animated | `boolean` | `true` | |
|
||||
| sharp | `boolean` | `true` | |
|
||||
| --- | --- | --- | --- |
|
||||
| text | `boolean` | `false` | Text skeleton. |
|
||||
| round | `boolean` | `false` | Round skeleton. |
|
||||
| circle | `boolean` | `false` | Circle skeleton. |
|
||||
| height | `string \| number` | `undefined` | Skeleton height. |
|
||||
| width | `string \| number` | `undefined` | Skeleton width. |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `undefined` | Skeleton size. |
|
||||
| repeat | `string \| number` | `1` | Repeat frequency. |
|
||||
| animated | `boolean` | `true` | Whether to enable animation. |
|
||||
| sharp | `boolean` | `true` | Whether to display as a right angled skeleton. |
|
||||
|
@ -13,13 +13,13 @@ size
|
||||
## Props
|
||||
|
||||
| 名称 | 类型 | 默认值 | 说明 |
|
||||
| -------- | -------------------------------- | ----------- | ---- |
|
||||
| text | `boolean` | `false` | |
|
||||
| round | `boolean` | `false` | |
|
||||
| circle | `boolean` | `false` | |
|
||||
| height | `string \| number` | `undefined` | |
|
||||
| width | `string \| number` | `undefined` | |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `undefined` | |
|
||||
| repeat | `string \| number` | `1` | |
|
||||
| animated | `boolean` | `true` | |
|
||||
| sharp | `boolean` | `true` | |
|
||||
| --- | --- | --- | --- |
|
||||
| text | `boolean` | `false` | 文本骨架 |
|
||||
| round | `boolean` | `false` | 圆角骨架 |
|
||||
| circle | `boolean` | `false` | 圆形骨架 |
|
||||
| height | `string \| number` | `undefined` | 骨架高度 |
|
||||
| width | `string \| number` | `undefined` | 骨架宽度 |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `undefined` | 骨架大小 |
|
||||
| repeat | `string \| number` | `1` | 重复次数 |
|
||||
| animated | `boolean` | `true` | 是否启用动画 |
|
||||
| sharp | `boolean` | `true` | 是否显示为直角骨架 |
|
||||
|
Loading…
Reference in New Issue
Block a user