mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +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