From 63a4da36fa365419040a6f9bb487203f7740173b Mon Sep 17 00:00:00 2001 From: Arno V Date: Tue, 14 Nov 2023 09:52:02 -0500 Subject: [PATCH] fix: invalid icon types --- .../ui-components/src/components/Icons/IconsTypes.d.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/ui-components/src/components/Icons/IconsTypes.d.ts b/packages/ui-components/src/components/Icons/IconsTypes.d.ts index f141cbf6..3149def2 100644 --- a/packages/ui-components/src/components/Icons/IconsTypes.d.ts +++ b/packages/ui-components/src/components/Icons/IconsTypes.d.ts @@ -1,7 +1,6 @@ import { SpacingType } from "../../common"; -export type IconsProps = { - className?: string; - viewBox?: string; +export interface IconsProps + extends Omit, "spacing"> { spacing?: SpacingType; -} & React.SVGAttributes; +}