From e792c2258a9fc2f608a6cca6c991c791c67f41fb Mon Sep 17 00:00:00 2001 From: tomjeatt <40243778+tomjeatt@users.noreply.github.com> Date: Wed, 27 Sep 2023 13:50:40 +0100 Subject: [PATCH] chore: add vDOT icon and sort imports (#1563) --- src/component-library/CoinIcon/icons/VDOT.tsx | 54 +++++++++++++++++++ src/component-library/CoinIcon/icons/index.ts | 1 + src/component-library/CoinIcon/utils.ts | 24 +++++---- 3 files changed, 68 insertions(+), 11 deletions(-) create mode 100644 src/component-library/CoinIcon/icons/VDOT.tsx diff --git a/src/component-library/CoinIcon/icons/VDOT.tsx b/src/component-library/CoinIcon/icons/VDOT.tsx new file mode 100644 index 0000000000..1c1645759a --- /dev/null +++ b/src/component-library/CoinIcon/icons/VDOT.tsx @@ -0,0 +1,54 @@ +import { forwardRef } from 'react'; + +import { Icon, IconProps } from '@/component-library/Icon'; + +const VDOT = forwardRef((props, ref) => ( + + VDOT + + + + + + + + + + + + + + + + + + + + + + + + + + + + +)); + +VDOT.displayName = 'VDOT'; + +export { VDOT }; diff --git a/src/component-library/CoinIcon/icons/index.ts b/src/component-library/CoinIcon/icons/index.ts index fc94af8105..adcd29320d 100644 --- a/src/component-library/CoinIcon/icons/index.ts +++ b/src/component-library/CoinIcon/icons/index.ts @@ -22,4 +22,5 @@ export { qMOVR } from './qMOVR'; export { qUSDT } from './qUSDT'; export { SKSM } from './SKSM'; export { USDT } from './USDT'; +export { VDOT } from './VDOT'; export { VKSM } from './VKSM'; diff --git a/src/component-library/CoinIcon/utils.ts b/src/component-library/CoinIcon/utils.ts index 04f540e234..f06b5ebada 100644 --- a/src/component-library/CoinIcon/utils.ts +++ b/src/component-library/CoinIcon/utils.ts @@ -23,34 +23,36 @@ import { qUSDT, SKSM, USDT, + VDOT, VKSM } from './icons'; import { CoinComponent } from './types'; export const coins: Record = { + AUSD, BTC, DOT, + ETH, IBTC, INTR, + KAR, KBTC, KINT, KSM, LDOT, LKSM, - USDT, - VKSM, LSKSM, MOVR, - SKSM, - qUSDT, - qKINT, - qKBTC, - qKSM, - qMOVR, - AUSD, - KAR, qDOT, qIBTC, qINTR, - ETH + qKBTC, + qKINT, + qKSM, + qMOVR, + qUSDT, + SKSM, + USDT, + VDOT, + VKSM };