From f006239eb5569e66a31b49846b31fcb895f24ca4 Mon Sep 17 00:00:00 2001 From: Gabriel Felipe Date: Mon, 1 Aug 2022 11:46:36 -0300 Subject: [PATCH] fix(lazy-image): replace deprecated type --- src/LazyImage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LazyImage.tsx b/src/LazyImage.tsx index 98df3bd..65fe75e 100644 --- a/src/LazyImage.tsx +++ b/src/LazyImage.tsx @@ -45,7 +45,7 @@ export interface LazyImageProps extends CommonLazyImageProps { * and then swaps it in. Has predefined rendering logic, but the * specifics are up to the caller. */ -export const LazyImage: React.StatelessComponent = ({ +export const LazyImage: React.FC = ({ actual, placeholder, loading,