Javascript 蚂蚁设计中基于step的Popover
有没有可能让一个popover在Ant设计的一个步骤上工作 我试着用这个:Javascript 蚂蚁设计中基于step的Popover,javascript,reactjs,ant-design-pro,Javascript,Reactjs,Ant Design Pro,有没有可能让一个popover在Ant设计的一个步骤上工作 我试着用这个: <Steps direction="horizontal" style={{ marginTop: "20px"}}> <Popover placement="topLeft" title={<span>Initialised</span>} conten
<Steps direction="horizontal" style={{ marginTop: "20px"}}>
<Popover
placement="topLeft"
title={<span>Initialised</span>}
content={<React.Fragment><Paragraph><Text>Test</Text></Paragraph></React.Fragment>}
trigger="hover"
>
<Step
status="initialised"
title="Initialised"
description="."
/>
</
Popover>
不会生成错误并呈现页面,但悬停无法显示弹出框。在组件中使用图标道具并使用组件包装
<Step
status="initialised"
title="Initialised"
description="."
icon={<Popover placement="topLeft"
title={<span>Initialised</span>}
content={<React.Fragment><Paragraph><Text>Test</Text></Paragraph></React.Fragment>}
trigger="hover">
<Icon type="user"/></Popover>
</Popover>}
/>