Add hero icon size

This commit is contained in:
Fred Carlsen
2018-12-14 12:49:09 +01:00
parent 907aa7a844
commit 51f2711796
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import {getCSSPadding, PaddingInterface} from 'ts/@next/constants/utilities';
interface IconProps extends PaddingInterface {
name: string;
size?: 'small' | 'medium' | 'large' | number;
size?: 'small' | 'medium' | 'large' | 'hero' | number;
}
export const Icon: React.FunctionComponent<IconProps> = (props: IconProps) => {

View File

@@ -50,6 +50,7 @@ const GlobalStyles = withTheme(createGlobalStyle<GlobalStyle> `
--smallIcon: 75px;
--mediumIcon: 85px;
--largeIcon: 145px;
--heroIcon: 282px;
}
}