Skip to content

Commit

Permalink
Fix compile break on Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ggdouglas committed Jan 14, 2025
1 parent 8d6c34f commit ee5510c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/icon/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export interface DefaultIconProps extends IntentProps, Props, DefaultSVGIconProp
* @see https://stackoverflow.com/a/73795494/7406866
*/
export interface IconComponent extends React.FC<IconProps<Element>> {
<T extends Element = Element>(props: IconProps<T>): React.ReactElement | null;
<T extends Element = Element>(props: IconProps<T>): React.ReactNode | null;
}

/**
Expand Down

0 comments on commit ee5510c

Please sign in to comment.