Add hero icon size
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -50,6 +50,7 @@ const GlobalStyles = withTheme(createGlobalStyle<GlobalStyle> `
|
||||
--smallIcon: 75px;
|
||||
--mediumIcon: 85px;
|
||||
--largeIcon: 145px;
|
||||
--heroIcon: 282px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user