Browse Source

remove React FC type

Aykut Saraç 3 năm trước cách đây
mục cha
commit
1d5e58c18d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/Image/index.tsx

+ 1 - 1
src/components/Image/index.tsx

@@ -10,6 +10,6 @@ const StyledImage = styled.img`
   }
 `;
 
-export const Image: React.FC = ({ ...props }) => {
+export const Image = ({ ...props }) => {
   return <StyledImage {...props} />
 };