From 187a15a015ed2f2b27df4b272e8e575f079cfb04 Mon Sep 17 00:00:00 2001 From: chloe <44501120+chloezxyy@users.noreply.github.com> Date: Mon, 21 Aug 2023 15:53:42 +0800 Subject: [PATCH] fix prop types --- .../app/components/icons/assets/MATIC.tsx | 10 +++--- .../app/components/icons/assets/SOL.tsx | 12 +++---- .../app/components/icons/assets/dMATIC.tsx | 6 ++-- .../app/components/icons/assets/dSOL.tsx | 32 +++++++++---------- 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/mobile-app/app/components/icons/assets/MATIC.tsx b/mobile-app/app/components/icons/assets/MATIC.tsx index efd618e166..49c67ed5b2 100644 --- a/mobile-app/app/components/icons/assets/MATIC.tsx +++ b/mobile-app/app/components/icons/assets/MATIC.tsx @@ -1,4 +1,4 @@ -import Svg, { Rect, Path, SvgProps } from "react-native-svg"; +import Svg, { Rect, Path, SvgProps, Defs, G } from "react-native-svg"; export function MATIC(props: SvgProps): JSX.Element { return ( @@ -9,13 +9,13 @@ export function MATIC(props: SvgProps): JSX.Element { d="M0 18C0 8.05891 8.05891 0 18 0C27.9411 0 36 8.05891 36 18C36 27.9411 27.9411 36 18 36C8.05891 36 0 27.9411 0 18Z" fill="#8247E5" /> - + - - + + - + ); } diff --git a/mobile-app/app/components/icons/assets/SOL.tsx b/mobile-app/app/components/icons/assets/SOL.tsx index 3fa40f9e65..bc4845fa17 100644 --- a/mobile-app/app/components/icons/assets/SOL.tsx +++ b/mobile-app/app/components/icons/assets/SOL.tsx @@ -1,4 +1,4 @@ -import Svg, { Stop, Path, SvgProps } from "react-native-svg"; +import Svg, { Stop, Path, SvgProps, G, Defs, Rect } from "react-native-svg"; export function SOL(props: SvgProps): JSX.Element { return ( @@ -9,7 +9,7 @@ export function SOL(props: SvgProps): JSX.Element { d="M0 18C0 8.05891 8.05891 0 18 0C27.9411 0 36 8.05891 36 18C36 27.9411 27.9411 36 18 36C8.05891 36 0 27.9411 0 18Z" fill="#0C192B" /> - + - - + + - - + ); } diff --git a/mobile-app/app/components/icons/assets/dMATIC.tsx b/mobile-app/app/components/icons/assets/dMATIC.tsx index 4aa16f19bc..ed426ecb1a 100644 --- a/mobile-app/app/components/icons/assets/dMATIC.tsx +++ b/mobile-app/app/components/icons/assets/dMATIC.tsx @@ -1,4 +1,4 @@ -import Svg, { G, Path, SvgProps } from "react-native-svg"; +import Svg, { G, Path, SvgProps, Defs } from "react-native-svg"; export function dMATIC(props: SvgProps): JSX.Element { return ( @@ -15,7 +15,7 @@ export function dMATIC(props: SvgProps): JSX.Element { fill="#8247E5" /> - + - + ); } diff --git a/mobile-app/app/components/icons/assets/dSOL.tsx b/mobile-app/app/components/icons/assets/dSOL.tsx index c42577fb01..3a522229a8 100644 --- a/mobile-app/app/components/icons/assets/dSOL.tsx +++ b/mobile-app/app/components/icons/assets/dSOL.tsx @@ -1,29 +1,29 @@ -import Svg, { SvgProps } from "react-native-svg"; +import Svg, { SvgProps, G, Path, Defs, Stop, Rect } from "react-native-svg"; export function dSOL(props: SvgProps): JSX.Element { return ( - - - + - - - - + + - - + + - - + + - - + + - - + ); }