Unique Panel Component
二货机器人 edited this page Apr 18, 2022
·
2 revisions
在搭建平台中,弹窗类组件很难直接编辑。因而需要提供 Panel 组件供下游消费。
弹层类组件支持 Unique Panel Component 则提供 _RenderPanel
组件指向弹层内容。例如 Modal._RenderPanel
返回弹出后的窗体:
_RenderPanel
除了非相关属性外(如 visible
、mask
等等),继承弹窗本身相关的所有属性。例如 title
、children
、okText
等等。
- 先进入
rc-xxx
组件库,抽离组件,有的组件已经完成抽离则无需这步。 - 至 antd 组件导出抽离组件至
_RenderPanel
- Home
- Cookbook
- FAQ
- Template for Bug Report in IE8 9
- Contributing
- Maintaining
- Design