metadata-based-explorer1
Version:
Box UI Elements
33 lines (28 loc) • 1.12 kB
Flow
// @flow
import * as React from 'react';
import { bdlGray40 } from '../../styles/variables';
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 IconDoubleArrows = ({ className = '', color = bdlGray40, height = 32, title, width = 32 }: Props) => (
<AccessibleSVG
className={`icon-double-arrows ${className}`}
height={height}
title={title}
viewBox="0 0 32 32"
width={width}
>
<path
className="fill-color"
d="M3.8 6l3.5-3.44a1 1 0 0 0 0-1.36 1 1 0 0 0-1.39 0L.72 6.29a1 1 0 0 0 0 1.41l5.19 5.1a1 1 0 0 0 1.39 0 .94.94 0 0 0 0-1.35L3.8 8H23a1 1 0 0 0 0-2zM28.2 24l-3.5-3.44a1 1 0 0 1 0-1.36 1 1 0 0 1 1.39 0l5.19 5.1a1 1 0 0 1 0 1.41l-5.19 5.1a1 1 0 0 1-1.39 0 .94.94 0 0 1 0-1.35L28.2 26H9a1 1 0 0 1 0-2z"
fill={color}
/>
</AccessibleSVG>
);
export default IconDoubleArrows;