import {PageModal} from '@components';
import InventoryLog from '@pages/inventory-log';
import {FC} from 'react';

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

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

export default LogModal;
