Skip to content

Commit 6abb273

Browse files
authored
fix: Replace 'Component' with 'ComponentType' (DylanVann#647)
1 parent b4b1173 commit 6abb273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ interface FastImageStaticProperties {
199199
preload: (sources: Source[]) => void
200200
}
201201

202-
const FastImage: React.Component<FastImageProps> &
202+
const FastImage: React.ComponentType<FastImageProps> &
203203
FastImageStaticProperties = FastImageComponent as any
204204

205205
FastImage.resizeMode = resizeMode

0 commit comments

Comments
 (0)