From 2709c5f7479b07caa93342ea7bb55bc6e517229e Mon Sep 17 00:00:00 2001 From: Yunwoo Ji Date: Tue, 22 Mar 2022 14:23:34 +0900 Subject: [PATCH] docs: fix default value of height in drawer component (#34652) --- components/drawer/index.en-US.md | 2 +- components/drawer/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/drawer/index.en-US.md b/components/drawer/index.en-US.md index f0e2797689..df2c21db66 100644 --- a/components/drawer/index.en-US.md +++ b/components/drawer/index.en-US.md @@ -35,7 +35,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr | forceRender | Prerender Drawer component forcely | boolean | false | | | getContainer | Return the mounted node for Drawer | HTMLElement \| () => HTMLElement \| Selectors \| false | body | | | headerStyle | Style of the drawer header part | object | - | | -| height | Placement is `top` or `bottom`, height of the Drawer dialog | string \| number | 256 | | +| height | Placement is `top` or `bottom`, height of the Drawer dialog | string \| number | 378 | | | keyboard | Whether support press esc to close | boolean | true | | | mask | Whether to show mask or not | boolean | true | | | maskClosable | Clicking on the mask (area outside the Drawer) to close the Drawer or not | boolean | true | | diff --git a/components/drawer/index.zh-CN.md b/components/drawer/index.zh-CN.md index 9cb863d745..2008b29e4c 100644 --- a/components/drawer/index.zh-CN.md +++ b/components/drawer/index.zh-CN.md @@ -34,7 +34,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg | forceRender | 预渲染 Drawer 内元素 | boolean | false | | | getContainer | 指定 Drawer 挂载的 HTML 节点, false 为挂载在当前 dom | HTMLElement \| () => HTMLElement \| Selectors \| false | body | | | headerStyle | 用于设置 Drawer 头部的样式 | CSSProperties | - | | -| height | 高度, 在 `placement` 为 `top` 或 `bottom` 时使用 | string \| number | 256 | | +| height | 高度, 在 `placement` 为 `top` 或 `bottom` 时使用 | string \| number | 378 | | | keyboard | 是否支持键盘 esc 关闭 | boolean | true | | | mask | 是否展示遮罩 | boolean | true | | | maskClosable | 点击蒙层是否允许关闭 | boolean | true | |