import React from "react";
import { Document, Page } from "react-pdf";
import "react-pdf/dist/esm/Page/AnnotationLayer.css";

const PDFViewer = ({ pdf }) => {
  return (
    <Document file={pdf}>
      <Page pageNumber={1} />
    </Document>
  );
};

export default PDFViewer;
