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 e4b44a0 commit ecc01beCopy full SHA for ecc01be
src/@types/react-feather.d.ts
@@ -0,0 +1,14 @@
1
+declare module 'react-feather' {
2
+ import {FC, SVGAttributes} from 'react';
3
+
4
+ export interface FeatherIconProps extends SVGAttributes<SVGElement> {
5
+ size?: number | string;
6
+ }
7
8
+ // We declare commonly used icons; others can be added as needed
9
+ export const Check: FC<FeatherIconProps>;
10
+ export const Clipboard: FC<FeatherIconProps>;
11
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
12
+ const icons: Record<string, FC<FeatherIconProps>>;
13
+ export default icons;
14
+}
0 commit comments