From 23b26a230949d84a2535501ebc032f6c60a9f5a1 Mon Sep 17 00:00:00 2001 From: ajuner <106791576@qq.com> Date: Tue, 28 Sep 2021 14:34:20 +0800 Subject: [PATCH] docs: update --- components/drawer/index.en-US.md | 4 ++-- components/drawer/index.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/drawer/index.en-US.md b/components/drawer/index.en-US.md index c775d33fe..6a7e45981 100644 --- a/components/drawer/index.en-US.md +++ b/components/drawer/index.en-US.md @@ -18,7 +18,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr ## API | Props | Description | Type | Default | Version | -| --- | --- | --- | --- | --- | --- | +| --- | --- | --- | --- | --- | | autoFocus | Whether Drawer should get focused after open | boolean | true | 3.0.0 | | bodyStyle | Style of the drawer content part | CSSProperties | - | | | className(old: wrapClassName) | The class name of the container of the Drawer dialog | string | - | 3.0.0 | @@ -30,7 +30,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr | extra | Extra actions area at corner | VNode \| slot | - | 3.0.0 | | footer | The footer for Drawer | VNode \| slot | - | 3.0.0 | | footerStyle | Style of the drawer footer part | CSSProperties | - | 3.0.0 | -| forceRender | Prerender Drawer component forcely | boolean | - | false | 3.0.0 | +| forceRender | Prerender Drawer component forcely | boolean | false | 3.0.0 | | getContainer | Return the mounted node for Drawer | HTMLElement \| `() => HTMLElement` \| Selectors | 'body' | | | headerStyle | Style of the drawer header part | CSSProperties | - | 3.0.0 | | height | Placement is `top` or `bottom`, height of the Drawer dialog | string \| number | 378 | | diff --git a/components/drawer/index.zh-CN.md b/components/drawer/index.zh-CN.md index 9d45349b0..d6af45da2 100644 --- a/components/drawer/index.zh-CN.md +++ b/components/drawer/index.zh-CN.md @@ -18,7 +18,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg ## API | 参数 | 说明 | 类型 | 默认值 | 版本 | -| --- | --- | --- | --- | --- | --- | +| --- | --- | --- | --- | --- | | autoFocus | 抽屉展开后是否将焦点切换至其 Dom 节点 | boolean | true | 3.0.0 | | bodyStyle | 可用于设置 Drawer 内容部分的样式 | CSSProperties | - | | | className(原 wrapClassName) | 对话框外层容器的类名 | string | - | 3.0.0 | @@ -30,7 +30,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg | extra | 抽屉右上角的操作区域 | VNode \| slot | - | 3.0.0 | | footer | 抽屉的页脚 | VNode \| slot | - | 3.0.0 | | footerStyle | 抽屉页脚部件的样式 | CSSProperties | - | 3.0.0 | -| forceRender | 预渲染 Drawer 内元素 | boolean | - | false | 3.0.0 | +| forceRender | 预渲染 Drawer 内元素 | boolean | false | 3.0.0 | | getContainer | 指定 Drawer 挂载的 HTML 节点 | HTMLElement \| `() => HTMLElement` \| Selectors | 'body' | | | headerStyle | 用于设置 Drawer 头部的样式 | CSSProperties | - | 3.0.0 | | height | 高度, 在 `placement` 为 `top` 或 `bottom` 时使用 | string \| number | 378 | |