Skip to content

Commit 23b26a2

Browse files
ajunertangjinzhou
authored andcommitted
docs: update
1 parent 56a4d33 commit 23b26a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

components/drawer/index.en-US.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr
1818
## API
1919

2020
| Props | Description | Type | Default | Version |
21-
| --- | --- | --- | --- | --- | --- |
21+
| --- | --- | --- | --- | --- |
2222
| autoFocus | Whether Drawer should get focused after open | boolean | true | 3.0.0 |
2323
| bodyStyle | Style of the drawer content part | CSSProperties | - | |
2424
| 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
3030
| extra | Extra actions area at corner | VNode \| slot | - | 3.0.0 |
3131
| footer | The footer for Drawer | VNode \| slot | - | 3.0.0 |
3232
| footerStyle | Style of the drawer footer part | CSSProperties | - | 3.0.0 |
33-
| forceRender | Prerender Drawer component forcely | boolean | - | false | 3.0.0 |
33+
| forceRender | Prerender Drawer component forcely | boolean | false | 3.0.0 |
3434
| getContainer | Return the mounted node for Drawer | HTMLElement \| `() => HTMLElement` \| Selectors | 'body' | |
3535
| headerStyle | Style of the drawer header part | CSSProperties | - | 3.0.0 |
3636
| height | Placement is `top` or `bottom`, height of the Drawer dialog | string \| number | 378 | |

components/drawer/index.zh-CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg
1818
## API
1919

2020
| 参数 | 说明 | 类型 | 默认值 | 版本 |
21-
| --- | --- | --- | --- | --- | --- |
21+
| --- | --- | --- | --- | --- |
2222
| autoFocus | 抽屉展开后是否将焦点切换至其 Dom 节点 | boolean | true | 3.0.0 |
2323
| bodyStyle | 可用于设置 Drawer 内容部分的样式 | CSSProperties | - | |
2424
| className(原 wrapClassName) | 对话框外层容器的类名 | string | - | 3.0.0 |
@@ -30,7 +30,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/7z8NJQhFb/Drawer.svg
3030
| extra | 抽屉右上角的操作区域 | VNode \| slot | - | 3.0.0 |
3131
| footer | 抽屉的页脚 | VNode \| slot | - | 3.0.0 |
3232
| footerStyle | 抽屉页脚部件的样式 | CSSProperties | - | 3.0.0 |
33-
| forceRender | 预渲染 Drawer 内元素 | boolean | - | false | 3.0.0 |
33+
| forceRender | 预渲染 Drawer 内元素 | boolean | false | 3.0.0 |
3434
| getContainer | 指定 Drawer 挂载的 HTML 节点 | HTMLElement \| `() => HTMLElement` \| Selectors | 'body' | |
3535
| headerStyle | 用于设置 Drawer 头部的样式 | CSSProperties | - | 3.0.0 |
3636
| height | 高度, 在 `placement``top``bottom` 时使用 | string \| number | 378 | |

0 commit comments

Comments
 (0)