// @flow import * as React from 'react'; import IconFolderCollab from '../../icon/content/FolderShared32'; import IconFolderExternal from '../../icon/content/FolderExternal32'; import IconFolderPersonal from '../../icon/content/FolderPersonal32'; type Props = { /** Dimension of the icon */ dimension?: number, /** If true displays collaborated folder icon */ isCollab?: boolean, /** If true displays externally collaborated folder icon */ isExternal?: boolean, /** A text-only string describing the icon if it's not purely decorative for accessibility */ title?: string | React.Element, }; const FolderIcon = ({ dimension = 32, isCollab = false, isExternal = false, title }: Props) => { if (isExternal) { return ; } if (isCollab) { return ; } return ; }; export default FolderIcon;