Created
February 29, 2024 13:58
-
-
Save bjoerntx/cdc3bdc7742ec3930c74427b06f35bdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import DocumentViewer from '@txtextcontrol/tx-react-document-viewer' | |
function App() { | |
return ( | |
<DocumentViewer | |
width="1000px" | |
height="800px" | |
basePath="https://backend.textcontrol.com?access-token=your_trial_token" | |
documentData="SGVsbG8gdGhlcmU="> | |
</DocumentViewer> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment