Skip to content

Commit

Permalink
docs: loading 的 Props 说明文案优化 (#1320)
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud authored Aug 18, 2023
1 parent e175653 commit 0a3ac41
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions src/packages/loading/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ export default App;

:::

## API
## Loading

### Props

| Name | Description | type | default |
| Property | Description | type | default |
|--------------|----------------------------------|--------|------------------|
| type | loading icon type | circular \| spinner | `circular` |
| direction | direction of icon and text | horizontal \| vertical | `horizontal` |
| icon | custom loading icon | JSX.Element | `-`
| icon | custom loading icon | JSX.Element | `-` |
8 changes: 4 additions & 4 deletions src/packages/loading/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ export default App;

:::

## API
## Loading

### Props

| 参数 | 说明 | 类型 | 默认值 |
|--------------|----------------------------------|--------|------------------|
| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| type | loading图标的样式 | circular \| spinner | `circular` |
| direction | loading图标和文字的排列方式 | horizontal \| vertical | `horizontal` |
| icon | 自定义loading的图标 | JSX.Element | `-`
| icon | 自定义loading的图标 | JSX.Element | `-` |
8 changes: 4 additions & 4 deletions src/packages/loading/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ export default App;

:::

## API
## Loading

### Props

| 参数 | 说明 | 类型 | 默认值 |
|--------------|----------------------------------|--------|------------------|
| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| type | loading图标的样式 | circular \| spinner | `circular` |
| direction | loading图标和文字的排列方式 | horizontal \| vertical | `horizontal` |
| icon | 自定义loading的图标 | JSX.Element | `-`
| icon | 自定义loading的图标 | JSX.Element | `-` |
12 changes: 6 additions & 6 deletions src/packages/loading/doc.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ export default App;

:::

## API
## Loading

### Props

| 參數 | 說明 | 類型 | 默認值 |
|--------------|----------------------------------|--------|------------------|
| type | loading圖標的樣式 | circular \| spinner | `circular` |
| direction | loading圖標和文字的排列方式 | horizontal \| vertical | `horizontal` |
| icon | 自定義loading的圖標 | JSX.Element | `-`
| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| type | loading图标的样式 | circular \| spinner | `circular` |
| direction | loading图标和文字的排列方式 | horizontal \| vertical | `horizontal` |
| icon | 自定义loading的图标 | JSX.Element | `-` |

0 comments on commit 0a3ac41

Please sign in to comment.