Skip to content

Commit

Permalink
Revert "Fix compile break in SVGIconContainer"
Browse files Browse the repository at this point in the history
This reverts commit 77bf286.
  • Loading branch information
ggdouglas committed Jan 10, 2025
1 parent 074b795 commit 5508c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/icons/src/svgIconContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export type SVGIconContainerProps<T extends Element> = Omit<SVGIconProps<T>, "ch
* @see https://stackoverflow.com/a/73795494/7406866
*/
export interface SVGIconContainerComponent extends React.FC<SVGIconContainerProps<Element>> {
<T extends Element = Element>(props: SVGIconContainerProps<T>): React.ReactNode | null;
<T extends Element = Element>(props: SVGIconContainerProps<T>): React.ReactElement | null;
}

// eslint-disable-next-line prefer-arrow-callback
Expand Down

0 comments on commit 5508c77

Please sign in to comment.