diff options
Diffstat (limited to 'src/lib/icons.tsx')
-rw-r--r-- | src/lib/icons.tsx | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/lib/icons.tsx b/src/lib/icons.tsx index 4ea3b4d65..233f8a473 100644 --- a/src/lib/icons.tsx +++ b/src/lib/icons.tsx @@ -957,3 +957,41 @@ export function SatelliteDishIcon({ </Svg> ) } + +// Copyright (c) 2020 Refactoring UI Inc. +// https://github.com/tailwindlabs/heroicons/blob/master/LICENSE +export function ShieldExclamation({ + style, + size, + strokeWidth = 1.5, +}: { + style?: StyleProp<TextStyle> + size?: string | number + strokeWidth?: number +}) { + let color = 'currentColor' + if ( + style && + typeof style === 'object' && + 'color' in style && + typeof style.color === 'string' + ) { + color = style.color + } + return ( + <Svg + width={size} + height={size} + fill="none" + viewBox="0 0 24 24" + strokeWidth={strokeWidth || 1.5} + stroke={color} + style={style}> + <Path + strokeLinecap="round" + strokeLinejoin="round" + d="M12 9v3.75m0-10.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.75c0 5.592 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.57-.598-3.75h-.152c-3.196 0-6.1-1.249-8.25-3.286zm0 13.036h.008v.008H12v-.008z" + /> + </Svg> + ) +} |