UNPKG

metadata-based-explorer1

Version:
30 lines (25 loc) 951 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 IconInformation = ({ className = '', color = '#444', height = 13, title, width = 5 }: Props) => ( <AccessibleSVG className={`icon-information ${className}`} height={height} title={title} viewBox="0 0 5 13" width={width} > <g className="fill-color" fill={color}> <path d="M1 12h3V6H1v6zm0-7h3c.6 0 1 .5 1 1v6c0 .6-.4 1-1 1H1c-.6 0-1-.5-1-1V6c0-.6.4-1 1-1zM2 3h1c.6 0 1-.4 1-1s-.4-1-1-1H2c-.6 0-1 .4-1 1s.4 1 1 1zm0-3h1c1.1 0 2 .9 2 2s-.9 2-2 2H2C.9 4 0 3.1 0 2s.9-2 2-2z" /> </g> </AccessibleSVG> ); export default IconInformation;