UNPKG

metadata-based-explorer1

Version:
28 lines (23 loc) 718 B
// @flow import * as React from 'react'; import AccessibleSVG from '../accessible-svg'; type Props = { className?: string, color?: string, height?: number, /** A text-only string describing the icon if it's not purely decorative for accessibility */ title?: string | React.Element<any>, width?: number, }; const IconMinus = ({ className = '', color = '#000000', height = 16, title, width = 16 }: Props) => ( <AccessibleSVG className={`icon-minus ${className}`} height={height} title={title} viewBox="0 0 16 16" width={width} > <path d="M2 5h8v2H2z" fill={color} fillRule="evenodd" /> </AccessibleSVG> ); export default IconMinus;