aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-10 18:23:54 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-10 18:23:54 +0800
commit9636fd1b7693f6657c17d4ca4f1b19f70a9fb742 (patch)
treedc6071de1d1abae29c266f6e5138791c9bf9a3ec
parent16f69ad718173266bd31b26b49f573cc175aed38 (diff)
downloaddexon-0x-contracts-9636fd1b7693f6657c17d4ca4f1b19f70a9fb742.tar
dexon-0x-contracts-9636fd1b7693f6657c17d4ca4f1b19f70a9fb742.tar.gz
dexon-0x-contracts-9636fd1b7693f6657c17d4ca4f1b19f70a9fb742.tar.bz2
dexon-0x-contracts-9636fd1b7693f6657c17d4ca4f1b19f70a9fb742.tar.lz
dexon-0x-contracts-9636fd1b7693f6657c17d4ca4f1b19f70a9fb742.tar.xz
dexon-0x-contracts-9636fd1b7693f6657c17d4ca4f1b19f70a9fb742.tar.zst
dexon-0x-contracts-9636fd1b7693f6657c17d4ca4f1b19f70a9fb742.zip
Adds size definition to Icon
-rw-r--r--packages/website/ts/@next/components/icon.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/icon.tsx b/packages/website/ts/@next/components/icon.tsx
index 2775601b0..8dfede88c 100644
--- a/packages/website/ts/@next/components/icon.tsx
+++ b/packages/website/ts/@next/components/icon.tsx
@@ -4,7 +4,7 @@ import IconCoin from 'ts/@next/icons/illustrations/coin.svg';
interface Props {
name: string;
- size?: string;
+ size?: 'small' | 'medium' | 'large' | number;
}
const ICONS = {