chore: disable the default behavior of the Alert closable (#51439)

This commit is contained in:
Avan 2024-11-08 11:13:19 +08:00 committed by GitHub
parent efd64c42d8
commit 3f228b35b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -257,7 +257,7 @@ const ComponentsList: React.FC = () => {
style={{ width: 400 }}
message="Ant Design 5.0"
description={locale.sampleContent}
closable
closable={{ closeIcon: true, disabled: true }}
/>
),
},