UNPKG

metadata-based-explorer1

Version:
35 lines (30 loc) 1.56 kB
// @flow import * as React from 'react'; import classNames from 'classnames'; import AccessibleSVG from '../accessible-svg'; import { bdlNeutral03 } from '../../styles/variables'; 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 IconCollectionsAdd = ({ className = '', color = bdlNeutral03, height = 32, title, width = 32 }: Props) => ( <AccessibleSVG className={classNames('bdl-IconCollectionsAdd', className)} height={height} title={title} viewBox="0 0 32 32" width={width} > <path className="fill-color" d="M7.896 0h21.642A2.462 2.462 0 0 1 32 2.462v21.642a2.462 2.462 0 0 1-2.462 2.462H7.896a2.462 2.462 0 0 1-2.462-2.462V2.462A2.462 2.462 0 0 1 7.896 0zm.615 23.49h20.412V3.076H8.511v20.412zM1.509 13.282c.834 0 1.51.676 1.51 1.51V26.52a2.462 2.462 0 0 0 2.461 2.46h11.728a1.51 1.51 0 0 1 0 3.019H4.923A4.923 4.923 0 0 1 0 27.077V14.792a1.51 1.51 0 0 1 1.51-1.509zm18.313-1.105h5.57c.251 0 .454.203.454.454v1.813c0 .25-.203.454-.453.454h-5.571v5.57a.454.454 0 0 1-.454.454h-1.813a.453.453 0 0 1-.454-.453v-5.571h-5.57a.453.453 0 0 1-.454-.454v-1.813c0-.25.203-.454.453-.454h5.571v-5.57c0-.251.203-.454.454-.454h1.813c.25 0 .454.203.454.453v5.571z" fill={color} fillRule="nonzero" /> </AccessibleSVG> ); export default IconCollectionsAdd;