From 3f228b35b6da67f37dafa12d783cbb02e01735ac Mon Sep 17 00:00:00 2001 From: Avan Date: Fri, 8 Nov 2024 11:13:19 +0800 Subject: [PATCH] chore: disable the default behavior of the Alert closable (#51439) --- .dumi/pages/index/components/ComponentsList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dumi/pages/index/components/ComponentsList.tsx b/.dumi/pages/index/components/ComponentsList.tsx index 7aae7b7881..739355b890 100644 --- a/.dumi/pages/index/components/ComponentsList.tsx +++ b/.dumi/pages/index/components/ComponentsList.tsx @@ -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 }} /> ), },