diff --git a/src/components/SharedComponents/FlashList/InfiniteScrollLoadingWheel.js b/src/components/SharedComponents/FlashList/InfiniteScrollLoadingWheel.tsx similarity index 93% rename from src/components/SharedComponents/FlashList/InfiniteScrollLoadingWheel.js rename to src/components/SharedComponents/FlashList/InfiniteScrollLoadingWheel.tsx index cb3dd9b864..efb6ee5de4 100644 --- a/src/components/SharedComponents/FlashList/InfiniteScrollLoadingWheel.js +++ b/src/components/SharedComponents/FlashList/InfiniteScrollLoadingWheel.tsx @@ -1,13 +1,10 @@ -// @flow - import classnames from "classnames"; import { ActivityIndicator, Body3 } from "components/SharedComponents"; import { View } from "components/styledComponents"; -import type { Node } from "react"; import React from "react"; import { useTranslation } from "sharedHooks"; -type Props = { +interface Props { layout?: string, isConnected?: boolean | null, hideLoadingWheel: boolean, @@ -19,7 +16,7 @@ const InfiniteScrollLoadingWheel = ( { isConnected = true, layout, explore = false -}: Props ): Node => { +}: Props ) => { const { t } = useTranslation( ); const loadingWheelClass = explore