2022-08-26 15:28:20 +03:00
|
|
|
import type { NextPage } from 'next'
|
|
|
|
import Head from 'next/head'
|
2022-08-26 20:02:52 +03:00
|
|
|
import { MyDocViewer } from '../Components/DocViewer'
|
|
|
|
import { FileUploader } from '../Components/FileUploader'
|
2022-08-26 15:28:20 +03:00
|
|
|
import styles from '../styles/Home.module.css'
|
|
|
|
|
|
|
|
const Home: NextPage = () => {
|
|
|
|
return (
|
|
|
|
<div className={styles.container}>
|
|
|
|
<Head>
|
|
|
|
<title>Create Next App</title>
|
|
|
|
<meta name="description" content="Generated by create next app" />
|
|
|
|
<link rel="icon" href="/favicon.ico" />
|
|
|
|
</Head>
|
|
|
|
<main className={styles.main}>
|
2022-08-26 20:02:52 +03:00
|
|
|
<FileUploader onResponse={(res)=>console.log(res)}></FileUploader>
|
2022-08-26 15:28:20 +03:00
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Home
|