Skip to content

Commit

Permalink
fix: docs type
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud committed Dec 11, 2024
1 parent 995ca6b commit b5ffcdf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions src/packages/empty/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ import { Empty } from '@nutui/nutui-react'

| Property | Description | Type | Default |
| --- | --- | --- | --- |
| text | The text | ReactNode | - |
| className | Class name of the action button | string | - |
| style | Style of the action button | CSSProperties | - |
| type | Type of the action button | ButtonType | - |
| size | Size of the action button | ButtonSize | - |
| fill | Fill of the action button | ButtonFill | - |
| disabled | Whether disabled state or not | boolean | false |
| onClick | Triggered on click | `() => void` | - |
| text | text | `ReactNode` | `-` |
| className | The class name of the Button component | `string` | `-` |
| style | style of Button component | `CSSProperties` | `-` |
| type | type of Button component | `ButtonType` | `-` |
| size | The size of the Button component | `ButtonSize` | `-` |
| fill | fill property of Button component | `ButtonFill` | `-` |
| disabled | Whether to disable | `boolean` | `false` |
| onClick | onClick of Button component | `() => void` | `-` |

## Theming

Expand Down
16 changes: 8 additions & 8 deletions src/packages/empty/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ import { Empty } from '@nutui/nutui-react'

| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| text | 文本 | ReactNode | - |
| className | Button 组件的类名 | string | - |
| style | Button 组件的 style | CSSProperties | - |
| type | Button 组件的 type | ButtonType | - |
| size | Button 组件的 size | ButtonSize | - |
| fill | Button 组件的 fill 属性 | ButtonFill | - |
| disabled | 是否禁用 | boolean | false |
| onClick | Button 组件的 onClick | `() => void` | - |
| text | 文本 | `ReactNode` | `-` |
| className | Button 组件的类名 | `string` | `-` |
| style | Button 组件的 style | `CSSProperties` | `-` |
| type | Button 组件的 type | `ButtonType` | `-` |
| size | Button 组件的 size | `ButtonSize` | `-` |
| fill | Button 组件的 fill 属性 | `ButtonFill` | `-` |
| disabled | 是否禁用 | `boolean` | `false` |
| onClick | Button 组件的 onClick | `() => void` | `-` |

## 主题定制

Expand Down
16 changes: 8 additions & 8 deletions src/packages/empty/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ import { Empty } from '@nutui/nutui-react-taro'

| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| text | 文本 | ReactNode | - |
| className | Button 组件的类名 | string | - |
| style | Button 组件的 style | CSSProperties | - |
| type | Button 组件的 type | ButtonType | - |
| size | Button 组件的 size | ButtonSize | - |
| fill | Button 组件的 fill 属性 | ButtonFill | - |
| disabled | 是否禁用 | boolean | false |
| onClick | Button 组件的 onClick | `() => void` | - |
| text | 文本 | `ReactNode` | `-` |
| className | Button 组件的类名 | `string` | `-` |
| style | Button 组件的 style | `CSSProperties` | `-` |
| type | Button 组件的 type | `ButtonType` | `-` |
| size | Button 组件的 size | `ButtonSize` | `-` |
| fill | Button 组件的 fill 属性 | `ButtonFill` | `-` |
| disabled | 是否禁用 | `boolean` | `false` |
| onClick | Button 组件的 onClick | `() => void` | `-` |

## 主题定制

Expand Down

0 comments on commit b5ffcdf

Please sign in to comment.