Browse Source

📝 Add bodyStyle and style of Drawer in documentation, #13850

pull/13919/head
afc163 6 years ago
parent
commit
a297b90cfa
No known key found for this signature in database GPG Key ID: 738F973FCE5C6B48
  1. 3
      components/drawer/index.en-US.md
  2. 3
      components/drawer/index.zh-CN.md

3
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 |

3
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 |

Loading…
Cancel
Save