// @flow import * as React from 'react'; import { bdlBoxBlue, bdlPurpleRain } from '../../styles/variables'; import AccessibleSVG from '../accessible-svg'; type Props = { className?: string, color?: string, height?: number, title?: string | React.Element, type?: 'cascade' | 'default', width?: number, }; const IconMetadataColored = ({ className = '', color, title, type, width = 16, height = 16 }: Props) => { let fill; if (color) { fill = color; } else if (type === 'cascade') { fill = bdlPurpleRain; } else if (type === 'default') { fill = bdlBoxBlue; } else { fill = bdlBoxBlue; } return ( ); }; export default IconMetadataColored;