metadata-based-explorer1
Version:
Box UI Elements
32 lines (27 loc) • 870 B
Flow
// @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 IconExpand = ({ className = '', color = '#979797', height = 13, title, width = 13 }: Props) => (
<AccessibleSVG
className={`icon-expand ${className}`}
height={height}
title={title}
viewBox="0 0 13 13"
width={width}
>
<path
className="fill-color"
d="M12 0H6a1 1 0 0 0 0 2h5v5a1 1 0 0 0 2 0V1a1 1 0 0 0-1-1zM7 11H2V6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1h6a1 1 0 0 0 0-2z"
fill={color}
/>
</AccessibleSVG>
);
export default IconExpand;