aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/ui/icon.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-01 06:09:12 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-02 05:15:30 +0800
commitc2645b26b457c66b3adcb98a5c089eba3e72f458 (patch)
tree5f0a56af898e896fe1040628a4f175bec975ca30 /packages/instant/src/components/ui/icon.tsx
parent0955feb0234bc90b7dcf5ad3a308570c9fa5d490 (diff)
downloaddexon-0x-contracts-c2645b26b457c66b3adcb98a5c089eba3e72f458.tar.gz
dexon-0x-contracts-c2645b26b457c66b3adcb98a5c089eba3e72f458.tar.zst
dexon-0x-contracts-c2645b26b457c66b3adcb98a5c089eba3e72f458.zip
feat(instant): add interactive overlay presentation to umd bundle
Diffstat (limited to 'packages/instant/src/components/ui/icon.tsx')
-rw-r--r--packages/instant/src/components/ui/icon.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/instant/src/components/ui/icon.tsx b/packages/instant/src/components/ui/icon.tsx
index 61b382760..a05017ba1 100644
--- a/packages/instant/src/components/ui/icon.tsx
+++ b/packages/instant/src/components/ui/icon.tsx
@@ -13,11 +13,19 @@ interface IconInfo {
strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit';
}
interface IconInfoMapping {
+ closeX: IconInfo;
failed: IconInfo;
success: IconInfo;
chevron: IconInfo;
}
const ICONS: IconInfoMapping = {
+ closeX: {
+ viewBox: '0 0 11 11',
+ fillRule: 'evenodd',
+ clipRule: 'evenodd',
+ path:
+ 'M10.45 10.449C10.7539 10.1453 10.7539 9.65282 10.45 9.34909L6.60068 5.49999L10.45 1.65093C10.7538 1.3472 10.7538 0.854765 10.45 0.551038C10.1462 0.24731 9.65378 0.24731 9.34995 0.551038L5.50058 4.40006L1.65024 0.549939C1.34641 0.246212 0.853973 0.246212 0.550262 0.549939C0.246429 0.853667 0.246429 1.34611 0.550262 1.64983L4.40073 5.49995L0.55014 9.35019C0.246307 9.65392 0.246307 10.1464 0.55014 10.4501C0.853851 10.7538 1.34628 10.7538 1.65012 10.4501L5.5007 6.59987L9.35007 10.449C9.6539 10.7527 10.1463 10.7527 10.45 10.449Z',
+ },
failed: {
viewBox: '0 0 34 34',
fillRule: 'evenodd',