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

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

export default PDFViewer;
