We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e3c72d commit 1ef3ab3Copy full SHA for 1ef3ab3
packages/core/src/components/Icon/CustomSvgIcon/CustomSvgIcon.tsx
@@ -56,7 +56,7 @@ const CustomSvgIcon: FunctionComponent<CustomSvgIconProps> = ({
56
if (typeof src !== "string") return null;
57
58
// eslint-disable-next-line @typescript-eslint/no-explicit-any
59
- const SVGComponent = (SVG.default || SVG) as React.FC<any>;
+ const SVGComponent = (SVG.default || SVG) as React.FC<any>; // fix esm issue
60
61
const PlaceHolder = <div className={className} id={id}></div>;
62
0 commit comments