mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
📝 Add bodyStyle and style of Drawer in documentation, #13850
This commit is contained in:
parent
b27f0f3e46
commit
a297b90cfa
@ -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 |
|
||||
|
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user