From e294ade846cb732c3834a91265eefb15d376544b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmetcan=20Y=C4=B1lmaz?= Date: Mon, 11 Nov 2024 12:31:43 +0300 Subject: [PATCH] feat: omit width & height from icon props --- .changeset/chilly-singers-rhyme.md | 5 +++++ src/components/ui/Icon/Icon.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/chilly-singers-rhyme.md diff --git a/.changeset/chilly-singers-rhyme.md b/.changeset/chilly-singers-rhyme.md new file mode 100644 index 0000000..7573303 --- /dev/null +++ b/.changeset/chilly-singers-rhyme.md @@ -0,0 +1,5 @@ +--- +'@commencis/starter-react-vite': patch +--- + +omit width & height from IconProps diff --git a/src/components/ui/Icon/Icon.tsx b/src/components/ui/Icon/Icon.tsx index d9351ea..facc9f0 100644 --- a/src/components/ui/Icon/Icon.tsx +++ b/src/components/ui/Icon/Icon.tsx @@ -9,7 +9,7 @@ export type IconProps = { name: IconName; size?: IconSize; color?: string; -} & Omit; +} & Omit; export function Icon({ name,