import Head from 'next/head'
      
      
      export default function DocumentViewer(){
        return(
          <>
          <Head>
          <title>title goes here</title>
          </Head>
          <iframe src="public document shared link here " className='w-half m-auto sm:w-quarter_past' height='700px' allow="autoplay"></iframe>
          </>
        )
      }

      Javascript language logo
      your recipe card header background
      Nextjs Drive document viewer page

      Nextjs with tailwind

      The code above will create an HTML head, title and body for a document view. The document view will be an <iframe src="public document shared link here " className='w-half m-auto sm:w-quarter_past' height='700px' allow="autoplay"></iframe> which will be 700px wide and 300px high.

      Shortcut: nextjs.page.documentViewer

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.