mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
docs: update
This commit is contained in:
parent
5e4697e38b
commit
4a29aaaf6b
@ -95,6 +95,7 @@ The sidebar.
|
||||
| defaultCollapsed | to set the initial status | boolean | false | |
|
||||
| reverseArrow | reverse direction of arrow, for a sider that expands from the right | boolean | false | |
|
||||
| style | to customize the styles | object | - | |
|
||||
| specialTriggerStyle | to customize the styles of the special trigger that appears when collapsedWidth is 0 | object | - | 3.24.0 |
|
||||
| theme | color theme of the sidebar | string: `light` `dark` | `dark` | 3.6.0 |
|
||||
| trigger | specify the customized trigger, set to null to hide the trigger | string\|ReactNode | - | |
|
||||
| width | width of the sidebar | number\|string | 200 | |
|
||||
|
@ -96,6 +96,7 @@ title: Layout
|
||||
| defaultCollapsed | 是否默认收起 | boolean | false | |
|
||||
| reverseArrow | 翻转折叠提示箭头的方向,当 Sider 在右边时可以使用 | boolean | false | |
|
||||
| style | 指定样式 | object | - | |
|
||||
| specialTriggerStyle | 指定当 `collapsedWidth` 为 0 时出现的特殊 trigger 的样式 | object | - | 3.24.0 |
|
||||
| theme | 主题颜色 | string: `light` `dark` | `dark` | 3.6.0 |
|
||||
| trigger | 自定义 trigger,设置为 null 时隐藏 trigger | string\|ReactNode | - | |
|
||||
| width | 宽度 | number\|string | 200 | |
|
||||
|
Loading…
Reference in New Issue
Block a user