From c949eb1c33946f8c8fb0aeb89f42b96169b44842 Mon Sep 17 00:00:00 2001 From: Rahmat Hidayat Date: Tue, 25 Jun 2024 19:21:11 +0800 Subject: [PATCH] fix(tag): make size prop type optional (#52) --- packages/apsara-ui/src/Tag/Tag.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apsara-ui/src/Tag/Tag.tsx b/packages/apsara-ui/src/Tag/Tag.tsx index 737d9794..97ef0861 100644 --- a/packages/apsara-ui/src/Tag/Tag.tsx +++ b/packages/apsara-ui/src/Tag/Tag.tsx @@ -16,7 +16,7 @@ type TagProps = { icon?: ReactNode; className?: string; style?: React.CSSProperties; - size: TagSize; + size?: TagSize; }; const Tag = ({