是否可以在 Antd Modal header 中添加按钮?
is it Possible to Add Button in Antd Modal header?
antd中创建Modal现在需要在Modal的header部分添加自定义按钮,尝试了一些方法都没有成功。
<Modal title={<button>abc</button>} visible={isModalVisible}>
<p>Some contents...</p>
<p>Some contents...</p>
<p>Some contents...</p>
</Modal>
antd中创建Modal现在需要在Modal的header部分添加自定义按钮,尝试了一些方法都没有成功。
<Modal title={<button>abc</button>} visible={isModalVisible}>
<p>Some contents...</p>
<p>Some contents...</p>
<p>Some contents...</p>
</Modal>