import * as React from 'react'; import { MouseEventHandler } from 'react'; import ExpandIcon from './ExpandIcon'; import EmptyExpandLink from './EmptyExpandLink'; interface ExpandLinkProps { folderId: string; folderTitle: string; hasChildren: boolean; isExpanded: boolean; className: string; onClick: MouseEventHandler; } const ExpandLink: React.FC = props => { return props.hasChildren ? ( ) : ( ); }; export default ExpandLink;