import React from 'react' import styled from 'styled-components' import { color } from '../_utils/branding' import { BaseIcon, BaseIconDefaultProps, Icon } from '../_utils/icon' export type CheckShieldIconProps = Icon & Readonly<{ background?: boolean }> const CheckShieldIcon = ({ background, ...props }: CheckShieldIconProps) => ( {background ? ( ) : ( )} ) const StyledCheckShieldIcon = styled(CheckShieldIcon)` path { fill: ${props => (props.iconColor ? props.iconColor : color.lightMidnightGreen)}; } ` StyledCheckShieldIcon.defaultProps = { ...BaseIconDefaultProps, iconColor: color.lightMidnightGreen, background: false, } export { StyledCheckShieldIcon as CheckShieldIcon }