Skip to content

Commit

Permalink
Revert "Fix compile break on Icon"
Browse files Browse the repository at this point in the history
This reverts commit 67a68f9.
  • Loading branch information
ggdouglas committed Jan 10, 2025
1 parent 5508c77 commit 0c815e9
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.ReactNode | null;
<T extends Element = Element>(props: IconProps<T>): React.ReactElement | null;
}

/**
Expand Down

1 comment on commit 0c815e9

@svc-palantir-github
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert "Fix compile break on Icon"

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Please sign in to comment.