<Alert
className={}
onClick={(event) => {
event.stopPropagration();
}}
message=“ test”
description = “want to add link “
type=“success”
/>
我想在描述中添加一个链接,我尝试了但对我不起作用
您可以简单地在描述中添加锚点/链接标签
<Alert
className={}
onClick={(event) => {
event.stopPropagration();
}}
message=“ test”
description = {<span>want to add <a href="/home"> link </a> </span> }
type=“success”
/>