mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-22 13:18:11 +00:00
14 lines
338 B
JavaScript
14 lines
338 B
JavaScript
import React from 'react'
|
|
import { hydrateRoot } from 'react-dom/client'
|
|
import Homebrew from './homebrew/homebrew.jsx'
|
|
|
|
// CSS MUST be imported here
|
|
import './homebrew/homebrew.less' // or wherever your CSS lives
|
|
|
|
window.start_app = (props) => {
|
|
hydrateRoot(
|
|
document.getElementById('reactRoot'),
|
|
<Homebrew {...props} />
|
|
)
|
|
}
|