Skip to content

Commit 189eecc

Browse files
icon type update
1 parent b45787d commit 189eecc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/react-native-feather.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { FC } from "react";
1+
import { ComponentClass } from "react";
22
import { SvgProps } from "react-native-svg";
33

44
export interface IconProps {
55
props: SvgProps;
66
}
77

8-
export type Icon = FC<SvgProps>;
8+
export type Icon = ComponentClass<SvgProps>;
99

1010
export const Activity: Icon;
1111
export const Airplay: Icon;

0 commit comments

Comments
 (0)