From 4a29aaaf6ba4620f48171f3f4505515ea6ff636e Mon Sep 17 00:00:00 2001 From: orzyyyy Date: Wed, 2 Oct 2019 11:56:08 +0800 Subject: [PATCH] docs: update --- components/layout/index.en-US.md | 1 + components/layout/index.zh-CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/components/layout/index.en-US.md b/components/layout/index.en-US.md index 169f37918a..79d3d2aa70 100644 --- a/components/layout/index.en-US.md +++ b/components/layout/index.en-US.md @@ -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 | | diff --git a/components/layout/index.zh-CN.md b/components/layout/index.zh-CN.md index 12d800a37a..9921a74045 100644 --- a/components/layout/index.zh-CN.md +++ b/components/layout/index.zh-CN.md @@ -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 | |