From a297b90cfae8591c9a4a5fb1325cda70dbf8dd74 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 25 Dec 2018 15:30:11 +0800 Subject: [PATCH] :memo: Add bodyStyle and style of Drawer in documentation, #13850 --- components/drawer/index.en-US.md | 3 ++- components/drawer/index.zh-CN.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/drawer/index.en-US.md b/components/drawer/index.en-US.md index a9d0cf66d0..30f45e4001 100644 --- a/components/drawer/index.en-US.md +++ b/components/drawer/index.en-US.md @@ -25,7 +25,8 @@ A Drawer is a panel that is typically overlaid on top of a page and slides in fr | 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 | | maskStyle | Style for Drawer's mask element. | object | {} | -| style | Style of floating layer, typically used for adjusting its position. | object | - | +| style | Style of drawer wrapper | object | - | +| bodyStyle | Style of floating layer, typically used for adjusting its position. | object | - | | title | The title for Drawer. | string\|ReactNode | - | | visible | Whether the Drawer dialog is visible or not. | boolean | false | | width | Width of the Drawer dialog. | string\|number | 256 | diff --git a/components/drawer/index.zh-CN.md b/components/drawer/index.zh-CN.md index 6d720a1e64..cee0bb1fa2 100644 --- a/components/drawer/index.zh-CN.md +++ b/components/drawer/index.zh-CN.md @@ -24,7 +24,8 @@ title: Drawer | maskClosable | 点击蒙层是否允许关闭 | boolean | true | | mask | 是否展示遮罩 | Boolean | true | | maskStyle | 遮罩样式 | object | {} | -| style | 可用于设置 Drawer 的样式,调整浮层位置等 | object | - | +| style | 可用于设置 Drawer 最外层容器的样式 | object | - | +| bodyStyle | 可用于设置 Drawer 的样式,调整浮层位置等 | object | - | | title | 标题 | string \| ReactNode | - | | visible | Drawer 是否可见 | boolean | - | | width | 宽度 | string \| number | 256 |