From 3fbc202ced940964141e68e01ee14d95bd9f7441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Santana=20Gon=C3=A7alves?= Date: Thu, 11 Apr 2024 12:03:31 -0300 Subject: [PATCH] fix imports --- src/components/icons/NoDappsImage.tsx | 2 +- src/components/icons/TransactionsIcon.tsx | 3 +-- src/components/icons/UsersIcon.tsx | 3 +-- src/ux/appFooter/index.tsx | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/icons/NoDappsImage.tsx b/src/components/icons/NoDappsImage.tsx index d1e436660..e6d404c24 100644 --- a/src/components/icons/NoDappsImage.tsx +++ b/src/components/icons/NoDappsImage.tsx @@ -1,6 +1,6 @@ import Svg, { ClipPath, Defs, G, Path, SvgProps } from 'react-native-svg' -import { sharedColors } from 'src/shared/constants' +import { sharedColors } from 'shared/constants' export const NoDappsImage = ({ width = 268, diff --git a/src/components/icons/TransactionsIcon.tsx b/src/components/icons/TransactionsIcon.tsx index a2738ed42..34cab095c 100644 --- a/src/components/icons/TransactionsIcon.tsx +++ b/src/components/icons/TransactionsIcon.tsx @@ -4,7 +4,7 @@ import { sharedColors } from 'shared/constants' import { FooterIconInterface } from '.' -const TransactionsIcon = ({ +export const TransactionsIcon = ({ active = false, activeColor = sharedColors.primary, ...props @@ -17,4 +17,3 @@ const TransactionsIcon = ({ /> ) -export default TransactionsIcon diff --git a/src/components/icons/UsersIcon.tsx b/src/components/icons/UsersIcon.tsx index c280ca67b..d09739dfb 100644 --- a/src/components/icons/UsersIcon.tsx +++ b/src/components/icons/UsersIcon.tsx @@ -4,7 +4,7 @@ import { sharedColors } from 'shared/constants' import { FooterIconInterface } from '.' -const UsersIcon = ({ +export const UsersIcon = ({ active = false, activeColor = sharedColors.primary, ...props @@ -17,4 +17,3 @@ const UsersIcon = ({ /> ) -export default UsersIcon diff --git a/src/ux/appFooter/index.tsx b/src/ux/appFooter/index.tsx index 4a697b2c6..52c9c10c4 100644 --- a/src/ux/appFooter/index.tsx +++ b/src/ux/appFooter/index.tsx @@ -10,8 +10,8 @@ import { castStyle } from 'shared/utils' import { HomeIcon } from 'components/icons/HomeIcon' import { NetworkIcon } from 'components/icons/NetworkIcon' import { ScanIcon } from 'components/icons/ScanIcon' -import TransactionsIcon from 'components/icons/TransactionsIcon' -import UsersIcon from 'components/icons/UsersIcon' +import { TransactionsIcon } from 'components/icons/TransactionsIcon' +import { UsersIcon } from 'components/icons/UsersIcon' const buttonWidth = 52