UNPKG

box-ui-elements-mlh

Version:
26 lines (22 loc) 832 B
// @flow import * as React from 'react'; import { bdlGray80 } from '../../styles/variables'; import AccessibleSVG from '../accessible-svg'; import type { Icon } from '../flowTypes'; const IconTrash = ({ className = '', color = bdlGray80, height = 16, title, width = 16 }: Icon) => ( <AccessibleSVG className={`icon-trash ${className}`} height={height} title={title} viewBox="0 0 16 16" width={width} > <path className="fill-color" fill={color} fillRule="evenodd" d="M14 2l-1.8 11c-.1.6-.7 1-1.2 1H5c-.6 0-1.1-.5-1.2-1L2 2h12zm-1.2 1H3.2l1.6 9.9s.1.1.2.1h6c.06 0 .12-.036.158-.065l.042-.035L12.8 3zm-2.3 1c.3 0 .5.2.5.5s-.2.5-.5.5h-5c-.3 0-.5-.2-.5-.5s.2-.5.5-.5z" /> </AccessibleSVG> ); export default IconTrash;