UNPKG

metadata-based-explorer1

Version:
26 lines (21 loc) 817 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 IconEdit = ({ className = '', color = '#999', height = 14, title, width = 14 }: Props) => ( <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;