mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2025-02-06 12:59:12 +01:00
18 lines
392 B
JavaScript
18 lines
392 B
JavaScript
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()
|