mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
fix all type errors
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
import React from 'react'
|
||||
import { IPdfProps } from '../interfaces/IPdfProps'
|
||||
|
||||
export default function Preview({
|
||||
pdfIsLoading,
|
||||
pdfError,
|
||||
pdfUrl,
|
||||
}: {
|
||||
pdfIsLoading: boolean
|
||||
pdfError: string
|
||||
pdfUrl: string
|
||||
}) {
|
||||
export default function Preview({ pdfIsLoading, pdfError, pdfUrl }: IPdfProps) {
|
||||
if (pdfIsLoading) {
|
||||
return <div>Lade…</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user