import { IS_DEV } from '@/config';
import { Lang } from '@/lang/Lang';

import DataLabel from './ItemData/components/DataLabel';
import { ItemDataProps } from './ItemData/types';

const OpsItemData = (props: ItemDataProps) => {
    return <>
        <DataLabel {...props} />
        <div className='text-red-500 text-xs p-2 bg-red-200 rounded-md px-4'>{Lang.key("error_please_go_to_support")}</div>
        {IS_DEV && <div className='text-red-500 text-xs p-2 bg-red-200 rounded-md px-4'>{JSON.stringify(props)}</div>}

    </>
}

export default OpsItemData;