mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
docs: Supplement missing en doc (#51802)
Some checks are pending
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
Some checks are pending
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
* docs(tabs): Supplement missing en doc * update snap
This commit is contained in:
parent
588d865168
commit
db62b9a12e
@ -54,7 +54,7 @@ Common props ref:[Common props](/docs/react/common-props)
|
|||||||
| hideAdd | Hide plus icon or not. Only works while `type="editable-card"` | boolean | false | |
|
| hideAdd | Hide plus icon or not. Only works while `type="editable-card"` | boolean | false | |
|
||||||
| indicator | Customize `size` and `align` of indicator | { size?: number \| (origin: number) => number; align: `start` \| `center` \| `end`; } | - | 5.13.0 |
|
| indicator | Customize `size` and `align` of indicator | { size?: number \| (origin: number) => number; align: `start` \| `center` \| `end`; } | - | 5.13.0 |
|
||||||
| items | Configure tab content | [TabItemType](#tabitemtype) | [] | 4.23.0 |
|
| items | Configure tab content | [TabItemType](#tabitemtype) | [] | 4.23.0 |
|
||||||
| more | 自定义折叠菜单属性 | [MoreProps](#moreprops) | { icon: `<EllipsisOutlined />` , trigger: 'hover' } | |
|
| more | Customize the collapse menu | [MoreProps](#moreprops) | { icon: `<EllipsisOutlined />` , trigger: 'hover' } | |
|
||||||
| removeIcon | The custom icon of remove, only works with `type="editable-card"` | ReactNode | `<CloseOutlined />` | 5.15.0 |
|
| removeIcon | The custom icon of remove, only works with `type="editable-card"` | ReactNode | `<CloseOutlined />` | 5.15.0 |
|
||||||
| popupClassName | `className` for more dropdown. | string | - | 4.21.0 |
|
| popupClassName | `className` for more dropdown. | string | - | 4.21.0 |
|
||||||
| renderTabBar | Replace the TabBar | (props: DefaultTabBarProps, DefaultTabBar: React.ComponentClass) => React.ReactElement | - | |
|
| renderTabBar | Replace the TabBar | (props: DefaultTabBarProps, DefaultTabBar: React.ComponentClass) => React.ReactElement | - | |
|
||||||
@ -86,6 +86,13 @@ More option at [rc-tabs tabs](https://github.com/react-component/tabs#tabs)
|
|||||||
| children | TabPane's head display content | ReactNode | - | |
|
| children | TabPane's head display content | ReactNode | - | |
|
||||||
| closable | Whether a close (x) button is visible, Only works while `type="editable-card"` | boolean | true | |
|
| closable | Whether a close (x) button is visible, Only works while `type="editable-card"` | boolean | true | |
|
||||||
|
|
||||||
|
### MoreProps
|
||||||
|
|
||||||
|
| Property | Description | Type | Default | Version |
|
||||||
|
| ----------------------------------------- | --------------- | --------- | ------- | ------- |
|
||||||
|
| icon | The custom icon | ReactNode | - | |
|
||||||
|
| [DropdownProps](/components/dropdown#api) | | | | |
|
||||||
|
|
||||||
## Design Token
|
## Design Token
|
||||||
|
|
||||||
<ComponentTokenTable component="Tabs"></ComponentTokenTable>
|
<ComponentTokenTable component="Tabs"></ComponentTokenTable>
|
||||||
|
@ -228,7 +228,7 @@ exports[`site test Component components/table en Page 1`] = `9`;
|
|||||||
|
|
||||||
exports[`site test Component components/table zh Page 1`] = `9`;
|
exports[`site test Component components/table zh Page 1`] = `9`;
|
||||||
|
|
||||||
exports[`site test Component components/tabs en Page 1`] = `2`;
|
exports[`site test Component components/tabs en Page 1`] = `3`;
|
||||||
|
|
||||||
exports[`site test Component components/tabs zh Page 1`] = `3`;
|
exports[`site test Component components/tabs zh Page 1`] = `3`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user