From b924b1422580b8c34cae3e34b62dbc4d7b9e4c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=BCchele?= Date: Mon, 2 Sep 2019 10:01:41 -0700 Subject: [PATCH] fix icon default size Summary: Logs plugin expected the default icons size to be 16 and therefor didn't set it explicitly. However, with the TS migration we lost the default size. This adds back the default size for icons. Reviewed By: jknoxville Differential Revision: D17156747 fbshipit-source-id: a37f3a2bd189a56019aee1939618caf21122a397 --- src/ui/components/Glyph.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/components/Glyph.tsx b/src/ui/components/Glyph.tsx index f6f99ec05..11c548ae8 100644 --- a/src/ui/components/Glyph.tsx +++ b/src/ui/components/Glyph.tsx @@ -87,7 +87,7 @@ export default class Glyph extends React.Component<{ color?: string; }> { render() { - const {name, size, variant, color, className} = this.props; + const {name, size = 16, variant, color, className} = this.props; return (