Antd 在react在Popover气泡的样式问题

1,056 阅读1分钟

overlayInnerStyle具体使用这个方法可以更改弹出的样式 继承与tooltip

<Popover content={content} 
title="最近房价政策" 
trigger="hover" 
placement="bottom"  
overlayInnerStyle={{height:'300px',width:"300px"}}> 
      <p style={{fontSize:"16px"}}>弹出的气泡</p>
 </Popover>

有用就点个赞吧👏