mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
chore: bump rc-tabs (#45370)
* chore: bump rc-tabs * chore: update limit * chore: fix lint
This commit is contained in:
parent
98a8d30439
commit
11cdac4a02
@ -74,15 +74,15 @@ More option at [rc-tabs tabs](https://github.com/react-component/tabs#tabs)
|
||||
|
||||
### TabItemType
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| Property | Description | Type | Default | Version |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| closeIcon | Customize close icon in TabPane's head. Only works while `type="editable-card"`. 5.7.0: close button will be hidden when setting to `null` or `false` | boolean \| ReactNode | - |
|
||||
| closeIcon | Customize close icon in TabPane's head. Only works while `type="editable-card"`. 5.7.0: close button will be hidden when setting to `null` or `false` | boolean \| ReactNode | - | |
|
||||
| destroyInactiveTabPane | Whether destroy inactive TabPane when change tab | boolean | false | 5.11.0 |
|
||||
| disabled | Set TabPane disabled | boolean | false |
|
||||
| forceRender | Forced render of content in tabs, not lazy render after clicking on tabs | boolean | false |
|
||||
| key | TabPane's key | string | - |
|
||||
| label | TabPane's head display text | ReactNode | - |
|
||||
| children | TabPane's head display content | ReactNode | - |
|
||||
| disabled | Set TabPane disabled | boolean | false | |
|
||||
| forceRender | Forced render of content in tabs, not lazy render after clicking on tabs | boolean | false | |
|
||||
| key | TabPane's key | string | - | |
|
||||
| label | TabPane's head display text | ReactNode | - | |
|
||||
| children | TabPane's head display content | ReactNode | - | |
|
||||
|
||||
## Design Token
|
||||
|
||||
|
@ -76,15 +76,15 @@ Ant Design 依次提供了三级选项卡,分别用于不同的场景。
|
||||
|
||||
### TabItemType
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| closeIcon | 自定义关闭图标,在 `type="editable-card"` 时有效。5.7.0:设置为 `null` 或 `false` 时隐藏关闭按钮 | boolean \| ReactNode | - |
|
||||
| closeIcon | 自定义关闭图标,在 `type="editable-card"` 时有效。5.7.0:设置为 `null` 或 `false` 时隐藏关闭按钮 | boolean \| ReactNode | - | |
|
||||
| destroyInactiveTabPane | 被隐藏时是否销毁 DOM 结构 | boolean | false | 5.11.0 |
|
||||
| disabled | 禁用某一项 | boolean | false |
|
||||
| forceRender | 被隐藏时是否渲染 DOM 结构 | boolean | false |
|
||||
| key | 对应 activeKey | string | - |
|
||||
| label | 选项卡头显示文字 | ReactNode | - |
|
||||
| children | 选项卡头显示内容 | ReactNode | - |
|
||||
| disabled | 禁用某一项 | boolean | false | |
|
||||
| forceRender | 被隐藏时是否渲染 DOM 结构 | boolean | false | |
|
||||
| key | 对应 activeKey | string | - | |
|
||||
| label | 选项卡头显示文字 | ReactNode | - | |
|
||||
| children | 选项卡头显示内容 | ReactNode | - | |
|
||||
|
||||
## 主题变量(Design Token)
|
||||
|
||||
|
@ -148,7 +148,7 @@
|
||||
"rc-steps": "~6.0.1",
|
||||
"rc-switch": "~4.1.0",
|
||||
"rc-table": "~7.35.1",
|
||||
"rc-tabs": "~12.13.0",
|
||||
"rc-tabs": "~12.13.1",
|
||||
"rc-textarea": "~1.5.1",
|
||||
"rc-tooltip": "~6.1.1",
|
||||
"rc-tree": "~5.7.12",
|
||||
@ -323,7 +323,7 @@
|
||||
},
|
||||
{
|
||||
"path": "./dist/antd-with-locales.min.js",
|
||||
"limit": "458 KiB"
|
||||
"limit": "459 KiB"
|
||||
}
|
||||
],
|
||||
"tnpm": {
|
||||
|
Loading…
Reference in New Issue
Block a user