// @flow import React from 'react'; import Icon from './Icon'; import type { Props } from './Icon'; export default function CollectionIcon({ expanded, ...rest }: Props & { expanded?: boolean }) { return ( {expanded ? ( ) : ( )} ); }