metadata-based-explorer1
Version:
Box UI Elements
33 lines (28 loc) • 981 B
JavaScript
// @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 IconFlagSolid = ({ className = '', color = '#979797', height = 18, title, width = 18 }: Props) => (
<AccessibleSVG
className={`icon-flag-solid ${className}`}
height={height}
title={title}
viewBox="0 0 18 18"
width={width}
>
<path
className="fill-color"
d="M4 1C5.33.33 6.67 0 8 0c2 0 4 2 6 2 1.33 0 2.67-.33 4-1v10c-1.33.67-2.67 1-4 1-2 0-4-2-6-2-1.33 0-2.67.33-4 1V1zM1 0h1a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1z"
fill={color}
fillRule="nonzero"
/>
</AccessibleSVG>
);
export default IconFlagSolid;