From cdea74d5eb9d1b9c08c0d43d9ae0514ddac517fd Mon Sep 17 00:00:00 2001 From: Shahe Shahinyan Date: Thu, 28 Dec 2023 19:09:27 +0400 Subject: [PATCH] fix Typescript check error --- src/components/SignInButtons/IconButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SignInButtons/IconButton.tsx b/src/components/SignInButtons/IconButton.tsx index e0c72c8d6292..848ca5463854 100644 --- a/src/components/SignInButtons/IconButton.tsx +++ b/src/components/SignInButtons/IconButton.tsx @@ -1,5 +1,4 @@ import React from 'react'; -import {SvgProps} from 'react-native-svg'; import {ValueOf} from 'type-fest'; import Icon from '@components/Icon'; import * as Expensicons from '@components/Icon/Expensicons'; @@ -8,6 +7,7 @@ import useLocalize from '@hooks/useLocalize'; import useThemeStyles from '@hooks/useThemeStyles'; import CONST from '@src/CONST'; import {TranslationPaths} from '@src/languages/types'; +import IconAsset from '@src/types/utils/IconAsset'; const providerData = { [CONST.SIGN_IN_METHOD.APPLE]: { @@ -21,7 +21,7 @@ const providerData = { } satisfies Record< ValueOf, { - icon: React.FC; + icon: IconAsset; accessibilityLabel: TranslationPaths; } >;