Skip to content

Commit b698d74

Browse files
committed
docs: update layout doc
1 parent 30af93b commit b698d74

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

components/layout/Sider.jsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,6 @@ export default {
7777
collapsedWidth: 80,
7878
}),
7979

80-
// static childContextTypes = {
81-
// siderCollapsed: PropTypes.bool,
82-
// collapsedWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
83-
// };
84-
85-
// static contextTypes = {
86-
// siderHook: PropTypes.object,
87-
// };
88-
89-
// private mql: MediaQueryList;
90-
// private uniqueId: string;
91-
9280
data () {
9381
this.uniqueId = generateId('ant-sider-')
9482
let matchMedia

components/layout/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The sidebar.
3434
| breakpoint | [breakpoints](/ant-desing-vue/components/grid#api) of the responsive layout | Enum { 'xs', 'sm', 'md', 'lg', 'xl', 'xxl' } | - |
3535
| class | container className | string | - |
3636
| collapsed(v-model) | to set the current status | boolean | - |
37-
| collapsedWidth | width of the collapsed sidebar, by setting to `0` a special trigger will appear | number | 64 |
37+
| collapsedWidth | width of the collapsed sidebar, by setting to `0` a special trigger will appear | number | 80 |
3838
| collapsible | whether can be collapsed | boolean | false |
3939
| defaultCollapsed | to set the initial status | boolean | false |
4040
| reverseArrow | reverse direction of arrow, for a sider that expands from the right | boolean | false |

components/layout/index.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
| breakpoint | 触发响应式布局的[断点](/ant-design-vue/components/grid#API) | Enum { 'xs', 'sm', 'md', 'lg', 'xl', 'xxl' } | - |
3535
| class | 容器 class | string | - |
3636
| collapsed(v-model) | 当前收起状态 | boolean | - |
37-
| collapsedWidth | 收缩宽度,设置为 0 会出现特殊 trigger | number | 64 |
37+
| collapsedWidth | 收缩宽度,设置为 0 会出现特殊 trigger | number | 80 |
3838
| collapsible | 是否可收起 | boolean | false |
3939
| defaultCollapsed | 是否默认收起 | boolean | false |
4040
| reverseArrow | 翻转折叠提示箭头的方向,当 Sider 在右边时可以使用 | boolean | false |

0 commit comments

Comments
 (0)