Summary: Adding type declaration for glyphs

Reviewed By: passy

Differential Revision: D17096295

fbshipit-source-id: e8994e0c81c3668fa909479dbaea613ec2b86dc4
This commit is contained in:
Daniel Büchele
2019-08-28 19:49:29 -07:00
committed by Facebook Github Bot
parent bc4fc12ea4
commit 9970c50daf
2 changed files with 19 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ const ColoredIconBlack = styled('img')(({size}: {size: number}) => ({
}));
const ColoredIconCustom = styled('div')(
(props: {size: number; color: string; src: string}) => ({
(props: {size: number; color?: string; src: string}) => ({
height: props.size,
verticalAlign: 'middle',
width: props.size,