diff --git a/packages/widget/src/components/LiFiLogo.tsx b/packages/widget/src/components/LiFiLogo.tsx index 25214ff30..f0cadda82 100644 --- a/packages/widget/src/components/LiFiLogo.tsx +++ b/packages/widget/src/components/LiFiLogo.tsx @@ -1,6 +1,5 @@ import { CSSProperties } from 'react'; -import { ReactComponent as LiFiFullLogo } from '../icons/LiFiFullLogo.svg'; -import { ReactComponent as LiFiIconLogo } from '../icons/LiFiLogo.svg'; +import { LiFiFullLogo, LiFiLogo as LiFiIconLogo } from '../icons'; export const LiFiLogo: React.FC<{ variant?: 'icon' | 'full'; diff --git a/packages/widget/src/components/StepActions/StepActions.tsx b/packages/widget/src/components/StepActions/StepActions.tsx index 1aca953be..0618edd61 100644 --- a/packages/widget/src/components/StepActions/StepActions.tsx +++ b/packages/widget/src/components/StepActions/StepActions.tsx @@ -9,7 +9,7 @@ import { } from '@mui/material'; import { useTranslation } from 'react-i18next'; import { useChains } from '../../hooks'; -import { ReactComponent as LiFiToolLogo } from '../../icons/LiFiToolLogo.svg'; +import { LiFiToolLogo } from '../../icons'; import { formatTokenAmount } from '../../utils'; import { SmallAvatar } from '../SmallAvatar'; import { diff --git a/packages/widget/src/icons/LiFiFullLogo.svg b/packages/widget/src/icons/LiFiFullLogo.svg deleted file mode 100644 index 37d9cac4f..000000000 --- a/packages/widget/src/icons/LiFiFullLogo.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - diff --git a/packages/widget/src/icons/LiFiFullLogo.tsx b/packages/widget/src/icons/LiFiFullLogo.tsx new file mode 100644 index 000000000..1b51b03a5 --- /dev/null +++ b/packages/widget/src/icons/LiFiFullLogo.tsx @@ -0,0 +1,20 @@ +import { SVGProps } from 'react'; + +export const LiFiFullLogo = (props: SVGProps) => ( + + + + + + + + + +); diff --git a/packages/widget/src/icons/LiFiLogo.svg b/packages/widget/src/icons/LiFiLogo.svg deleted file mode 100644 index b51d1ff4a..000000000 --- a/packages/widget/src/icons/LiFiLogo.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - diff --git a/packages/widget/src/icons/LiFiLogo.tsx b/packages/widget/src/icons/LiFiLogo.tsx new file mode 100644 index 000000000..067e51288 --- /dev/null +++ b/packages/widget/src/icons/LiFiLogo.tsx @@ -0,0 +1,15 @@ +import { SVGProps } from 'react'; + +export const LiFiLogo = (props: SVGProps) => ( + + + + +); diff --git a/packages/widget/src/icons/LiFiToolLogo.svg b/packages/widget/src/icons/LiFiToolLogo.svg deleted file mode 100644 index 7087bf599..000000000 --- a/packages/widget/src/icons/LiFiToolLogo.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/packages/widget/src/icons/LiFiToolLogo.tsx b/packages/widget/src/icons/LiFiToolLogo.tsx new file mode 100644 index 000000000..152b9bde0 --- /dev/null +++ b/packages/widget/src/icons/LiFiToolLogo.tsx @@ -0,0 +1,22 @@ +import { SVGProps } from 'react'; + +export const LiFiToolLogo = (props: SVGProps) => ( + + + + + +); diff --git a/packages/widget/src/icons/index.ts b/packages/widget/src/icons/index.ts new file mode 100644 index 000000000..015f3f9cb --- /dev/null +++ b/packages/widget/src/icons/index.ts @@ -0,0 +1,3 @@ +export * from './LiFiFullLogo'; +export * from './LiFiLogo'; +export * from './LiFiToolLogo';