UNPKG

box-ui-elements

Version:
20 lines (15 loc) 671 B
// @flow import * as React from 'react'; import AccessibleSVG from '../accessible-svg'; import { bdlGray65 } from '../../styles/variables'; import type { Icon } from '../flowTypes'; const IconEdit = ({ className = '', color = bdlGray65, height = 14, title, width = 14 }: Icon) => ( <AccessibleSVG className={`icon-edit ${className}`} height={height} title={title} viewBox="0 0 14 14" width={width}> <path className="fill-color" d="M3.21 7.89l6.47-6.48a2 2 0 0 1 2.88 2.78h-.05L6 10.72 3.21 7.89zM2.24 9l2.83 2.83L1.67 13c-.52.18-.79-.1-.62-.61z" fill={color} /> </AccessibleSVG> ); export default IconEdit;