Skip to content

Commit 897fdb8

Browse files
Modify script to use import name.
1 parent 4b7ecc8 commit 897fdb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/icons-react/scripts/generate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const <%= svgIdentifier %> = (
5050
5151
<%= svgIdentifier %>.displayName = '<%= svgIdentifier %>';
5252
53-
const Comp: ForwardRefComponentBase<AntdIconProps> = React.forwardRef<HTMLSpanElement, AntdIconProps>(<%= svgIdentifier %>);
53+
const Comp: ForwardRefBaseComponent<AntdIconProps> = React.forwardRef<HTMLSpanElement, AntdIconProps>(<%= svgIdentifier %>);
5454
export default Comp;
5555
`.trim());
5656

0 commit comments

Comments
 (0)