首页 > 其他分享 >antd组件自定义title或者footer等

antd组件自定义title或者footer等

时间:2023-02-21 17:45:17浏览次数:31  
标签:自定义 title create footer 组件 antd

正确的写法可以让你拥有更加灵活多变的样式:

<Drawer
title={<div><Icontype="arrow-left"style={{ marginRight: "5px" }}/>{editState=="create"?"加油":"前进"}</div>}
/>

 

标签:自定义,title,create,footer,组件,antd
From: https://www.cnblogs.com/Simoon/p/17141818.html

相关文章