mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-29 18:50:00 +08:00
chore: disable the default behavior of the Alert closable (#51439)
This commit is contained in:
parent
efd64c42d8
commit
3f228b35b6
@ -257,7 +257,7 @@ const ComponentsList: React.FC = () => {
|
|||||||
style={{ width: 400 }}
|
style={{ width: 400 }}
|
||||||
message="Ant Design 5.0"
|
message="Ant Design 5.0"
|
||||||
description={locale.sampleContent}
|
description={locale.sampleContent}
|
||||||
closable
|
closable={{ closeIcon: true, disabled: true }}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user