mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Add Create React App example with TypeScript and basic usage
This commit is contained in:
parent
d20ab76242
commit
00c3339520
15 changed files with 377 additions and 0 deletions
7
examples/create-react-app/src/index.tsx
Normal file
7
examples/create-react-app/src/index.tsx
Normal file
|
@ -0,0 +1,7 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import App from './app';
|
||||
|
||||
import './index.css';
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById('root'));
|
Loading…
Add table
Add a link
Reference in a new issue