houdini/javascripts/app/session_login_page.tsx

14 lines
479 B
TypeScript
Raw Normal View History

2018-06-21 15:54:35 +00:00
// License: LGPL-3.0-or-later
// require a root component here. This will be treated as the root of a webpack package
import Root from "../src/components/common/Root"
import SessionLoginPage from "../src/components/session_login_page/SessionLoginPage"
import * as ReactDOM from 'react-dom'
import * as React from 'react'
function LoadReactPage(element:HTMLElement) {
ReactDOM.render(<Root><SessionLoginPage/></Root>, element)
}
(window as any).LoadReactPage = LoadReactPage