import {PageModal} from '@components';
import {FC} from 'react';
import DeliverTraceSnList from '@pages/deliver-trace-sn';

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

const SnListModal: FC<Props> = function ({visible, id, onClose}) {
  return (
    <PageModal visible={visible} onClose={onClose}>
      <DeliverTraceSnList id={id} />
    </PageModal>
  );
};

export default SnListModal;
