import _ from 'lodash';

import DisplayValue from '@/components/DisplayValue';

import { TableItemProps } from '../TableItem';
import EmptyItem from './EmptyItem';

const IDItem = (props: TableItemProps) => {

    const value = props.value;


    if (!value) return <EmptyItem {...props} />;






    return <DisplayValue value={value} collection={props.structure?.collection ?? ""} />




}

export default IDItem;