From 214c8cbfdac09ee911d7deb45cbd4661e66491fe Mon Sep 17 00:00:00 2001 From: Basith <134603758+abdulbasithqb@users.noreply.github.com> Date: Wed, 1 May 2024 01:47:34 +0530 Subject: [PATCH] fix: IconProps type is incompatible with icons components (#1078) --- packages/icons-react/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/icons-react/src/types.ts b/packages/icons-react/src/types.ts index 2960aa816..1f69cfd1d 100644 --- a/packages/icons-react/src/types.ts +++ b/packages/icons-react/src/types.ts @@ -4,7 +4,7 @@ export type { ReactNode } from 'react'; export type IconNode = [elementName: keyof ReactSVG, attrs: Record][]; -export interface IconProps extends Partial, 'stroke'>> { +export interface IconProps extends Partial, 'stroke'>> { size?: string | number; stroke?: string | number; }