metadata-based-explorer1
Version:
Box UI Elements
22 lines (17 loc) • 721 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 IconHome = ({ className = '', color = '#000000', height = 18, title, width = 20 }: Props) => (
<AccessibleSVG className={`icon-home ${className}`} height={height} title={title} viewBox="0 0 20 18" width={width}>
<path className="fill-color" d="M8 17.5v-6h4v6h5v-8h3l-10-9-10 9h3v8h5z" fill={color} fillRule="evenodd" />
</AccessibleSVG>
);
export default IconHome;