"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _logo = _interopRequireDefault(require("./logo.svg"));
require("./App.css");
var _PDFViewer = _interopRequireDefault(require("./components/PDFViewer"));
var _Testing = _interopRequireDefault(require("./components/Testing"));
var _Pdflib = _interopRequireDefault(require("./components/Pdflib"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// import { useState } from "react";
// import { Document, Page } from "react-pdf/dist/esm/entry.webpack";
// import "react-pdf/dist/esm/Page/AnnotationLayer.css";
// import "./App.css";

// const App = () => {
//   const [numPages, setNumPages] = useState(null);
//   const [pageNumber, setPageNumber] = useState(1);

//   const onDocumentLoadSuccess = ({ numPages }) => {
//     setNumPages(numPages);
//   };

//   const goToPrevPage = () =>
//     setPageNumber(pageNumber - 1 <= 1 ? 1 : pageNumber - 1);

//   const goToNextPage = () =>
//     setPageNumber(pageNumber + 1 >= numPages ? numPages : pageNumber + 1);

//   return (
//     <div className="page">
//       <nav>
//         <button onClick={goToPrevPage} className="previous">
//           Prev
//         </button>
//         <button onClick={goToNextPage} className="next">
//           Next
//         </button>
//         <p>
//           Page {pageNumber} of {numPages}
//         </p>
//       </nav>

//       <Document file="document.pdf" onLoadSuccess={onDocumentLoadSuccess}>
//         <Page pageNumber={pageNumber} />
//       </Document>
//     </div>
//   );
// };

// export default App;

function App() {
  return /*#__PURE__*/React.createElement("div", {
    className: "App"
  }, /*#__PURE__*/React.createElement(_Pdflib.default, null), /*#__PURE__*/React.createElement(_PDFViewer.default, null));
}
var _default = exports.default = App;