diff --git a/example/src/App.tsx b/example/src/App.tsx index 7882fcf..e5b7650 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -9,21 +9,6 @@ const pdfPreviewerContainerStyle: CSSProperties = { borderStyle: 'solid', }; -const buttonsContainer: CSSProperties = { - marginTop: 16, - display: 'flex', -}; - -const fileButtonStyle: CSSProperties = { - margin: '0 8px', - padding: '8px 16px', - fontSize: 18, - border: 0, - borderRadius: 16, - backgroundColor: '#03d47c', - cursor: 'pointer', -}; - function App() { const [file, setFile] = useState(null); @@ -32,19 +17,29 @@ function App() {

Hello, I am {ReactFastPDF.PackageName}!

{file ? ( - + <> + + + + ) : ( <>

Please choose a file for previewing:

-
+