From 6e59ca1fa1c6156611c1c00ef53a4459c2417126 Mon Sep 17 00:00:00 2001 From: AntexLabs Date: Wed, 5 Jan 2022 01:26:06 +0700 Subject: [PATCH] Add Antex Wallet --- .../src/components/Svg/Icons/Antex.tsx | 27 +++++++++++++++++++ .../src/components/Svg/index.tsx | 1 + .../src/widgets/WalletModal/config.tsx | 7 +++++ 3 files changed, 35 insertions(+) create mode 100644 packages/pancake-uikit/src/components/Svg/Icons/Antex.tsx diff --git a/packages/pancake-uikit/src/components/Svg/Icons/Antex.tsx b/packages/pancake-uikit/src/components/Svg/Icons/Antex.tsx new file mode 100644 index 000000000..cd685ee8b --- /dev/null +++ b/packages/pancake-uikit/src/components/Svg/Icons/Antex.tsx @@ -0,0 +1,27 @@ +import React from "react"; +import Svg from "../Svg"; +import { SvgProps } from "../types"; + +const Icon: React.FC = (props) => { + return ( + + + + + + + + + + + + + + + + + + ); +}; + +export default Icon; diff --git a/packages/pancake-uikit/src/components/Svg/index.tsx b/packages/pancake-uikit/src/components/Svg/index.tsx index 33d0bc4c9..c890bf905 100644 --- a/packages/pancake-uikit/src/components/Svg/index.tsx +++ b/packages/pancake-uikit/src/components/Svg/index.tsx @@ -148,6 +148,7 @@ export { default as WalletConnectIcon } from "./Icons/WalletConnect"; export { default as WalletFilledIcon } from "./Icons/WalletFilled"; export { default as WalletIcon } from "./Icons/Wallet"; export { default as WarningIcon } from "./Icons/Warning"; +export { default as AntexIcon } from "./Icons/Antex"; export { default as Svg } from "./Svg"; export type { SvgProps } from "./types"; diff --git a/packages/pancake-uikit/src/widgets/WalletModal/config.tsx b/packages/pancake-uikit/src/widgets/WalletModal/config.tsx index ce60af622..999decb4d 100644 --- a/packages/pancake-uikit/src/widgets/WalletModal/config.tsx +++ b/packages/pancake-uikit/src/widgets/WalletModal/config.tsx @@ -6,6 +6,7 @@ import TokenPocket from "../../components/Svg/Icons/TokenPocket"; import BinanceChain from "../../components/Svg/Icons/BinanceChain"; import SafePal from "../../components/Svg/Icons/SafePal"; import Coin98 from "../../components/Svg/Icons/Coin98"; +import Antex from "../../components/Svg/Icons/Antex"; import { Config, ConnectorNames } from "./types"; @@ -59,6 +60,12 @@ const connectors: Config[] = [ connectorId: ConnectorNames.Injected, priority: 999, }, + { + title: "Antex", + icon: Antex, + connectorId: ConnectorNames.Injected, + priority: 999, + }, ]; export default connectors;