7 lines
317 B
TypeScript
7 lines
317 B
TypeScript
|
import React from 'react';
|
||
|
import ReactDOM from 'react-dom';
|
||
|
import { CheckinForm } from './components/CheckinForm';
|
||
|
|
||
|
const initialState = JSON.parse(document.getElementById('initialState')?.textContent as string);
|
||
|
ReactDOM.render(<CheckinForm initialState={initialState} />, document.getElementById('checkinForm'));
|