Skip to content

Commit 9d904c7

Browse files
committed
fix: update TypeScript type for heroicons v2 compatibility
1 parent 757cd70 commit 9d904c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/[lang]/tools/cli.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export { getStaticPaths, getStaticProps };
2121
interface Feature {
2222
name: string;
2323
description: () => string | React.JSX.Element;
24-
icon: (props: React.ComponentProps<'svg'>) => React.JSX.Element;
24+
icon: React.ComponentType<React.ComponentProps<'svg'>>;
2525
}
2626

2727
const features: Feature[] = [

0 commit comments

Comments
 (0)