From 899dcaf9ab7a5172869dce949727d85272c004f0 Mon Sep 17 00:00:00 2001 From: meriadec Date: Mon, 2 Jul 2018 16:21:44 +0200 Subject: [PATCH] Export HandBadge from WarnBox and make it respect its viewbox --- src/components/WarnBox/index.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/components/WarnBox/index.js b/src/components/WarnBox/index.js index 7426869b..dda50b24 100644 --- a/src/components/WarnBox/index.js +++ b/src/components/WarnBox/index.js @@ -20,27 +20,29 @@ const Container = styled(Box).attrs({ align-items: center; ` -const svg = ( - - +export const HandShield = ({ size }: { size: number }) => ( + + ) +const svg = + type Props = { children: React.Node, }