Adds size definition to Icon

This commit is contained in:
Ezekiel Aquino 2018-12-10 11:23:54 +01:00
parent 16f69ad718
commit 9636fd1b76

View File

@ -4,7 +4,7 @@ import IconCoin from 'ts/@next/icons/illustrations/coin.svg';
interface Props { interface Props {
name: string; name: string;
size?: string; size?: 'small' | 'medium' | 'large' | number;
} }
const ICONS = { const ICONS = {