import * as React from 'react'; import { InlineBreadcrumbs } from '../breadcrumbs'; import { VIEW_SEARCH, VIEW_SELECTED } from '../../../constants'; import ItemSubDetails from './ItemSubDetails'; import type { View, BoxItem } from '../../../common/types/core'; import './ItemDetails.scss'; type Props = { item: BoxItem, onItemClick: any, rootId: string, view: View }; const ItemDetails = ({ view, rootId, item, onItemClick, }: Props) => (
{view === VIEW_SELECTED || view === VIEW_SEARCH ? ( ) : ( )}
); export default ItemDetails;