Adds size definition to Icon
This commit is contained in:
parent
16f69ad718
commit
9636fd1b76
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user