From 04cd6f8ef63f8c2a6882552d7fde577fc339f737 Mon Sep 17 00:00:00 2001 From: RabbitDoge <72658581+RabbitDoge@users.noreply.github.com> Date: Mon, 30 Nov 2020 11:56:54 +0900 Subject: [PATCH] feat: Add new tag and icon (#73) --- src/components/Svg/Icons/Binance.tsx | 17 +++++++++++++++++ src/components/Svg/index.tsx | 1 + src/components/Tag/types.ts | 1 + 3 files changed, 19 insertions(+) create mode 100644 src/components/Svg/Icons/Binance.tsx diff --git a/src/components/Svg/Icons/Binance.tsx b/src/components/Svg/Icons/Binance.tsx new file mode 100644 index 000000000..4e9d0fac4 --- /dev/null +++ b/src/components/Svg/Icons/Binance.tsx @@ -0,0 +1,17 @@ +import React from "react"; +import Svg from "../Svg"; +import SvgProps from "../types"; + +const Icon: React.FC = (props) => { + return ( + + + + + ); +}; + +export default Icon; diff --git a/src/components/Svg/index.tsx b/src/components/Svg/index.tsx index 55494ae53..91141abd6 100644 --- a/src/components/Svg/index.tsx +++ b/src/components/Svg/index.tsx @@ -1,5 +1,6 @@ export { default as AddIcon } from "./Icons/Add"; export { default as ArrowForwardIcon } from "./Icons/ArrowForward"; +export { default as BinanceIcon } from "./Icons/Binance"; export { default as BlockIcon } from "./Icons/Block"; export { default as CheckmarkIcon } from "./Icons/Checkmark"; export { default as ChevronDownIcon } from "./Icons/ChevronDown"; diff --git a/src/components/Tag/types.ts b/src/components/Tag/types.ts index 58f8aad3e..4a8393929 100644 --- a/src/components/Tag/types.ts +++ b/src/components/Tag/types.ts @@ -8,6 +8,7 @@ export const variants = { TEXTDISABLED: "textDisabled", TEXTSUBTLE: "textSubtle", BINANCE: "binance", + FAILURE: "failure", } as const; export type Variants = typeof variants[keyof typeof variants];