mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2025-01-30 01:19:38 +01:00
18 lines
392 B
React
18 lines
392 B
React
|
import React from 'react';
|
||
|
import ReactDOM from 'react-dom';
|
||
|
|
||
|
import 'bootstrap/dist/css/bootstrap.css';
|
||
|
|
||
|
import App from './components/App.jsx';
|
||
|
import AppState from './models/AppState.jsx';
|
||
|
|
||
|
function render(appState) {
|
||
|
ReactDOM.render(<App appState={ appState } />, document.getElementById('main'));
|
||
|
}
|
||
|
|
||
|
const appState = new AppState({
|
||
|
renderFunction: render,
|
||
|
});
|
||
|
|
||
|
appState.render()
|