import {PageModal} from '@components';
import InventoryDetail from '@pages/inventory-detail';
import {FC} from 'react';

type Props = {
  visible: boolean;
  onClose: () => void;
  uuid: string;
};

const DetailModal: FC<Props> = function ({visible, onClose, uuid}) {
  return (
    <PageModal visible={visible} onClose={onClose}>
      <InventoryDetail uuid={uuid} />
    </PageModal>
  );
};

export default DetailModal;
