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