mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2025-01-15 18:18:20 +01:00
19 lines
420 B
JavaScript
19 lines
420 B
JavaScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import 'bootstrap/dist/css/bootstrap.css';
|
|
import '../css/styles.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()
|