docs(skeleton): api table (#638)

This commit is contained in:
songjianet 2021-07-25 13:33:18 +08:00 committed by GitHub
parent db50008b9a
commit d7327d9b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 22 deletions

View File

@ -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. |

View File

@ -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` | 是否显示为直角骨架 |