0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 04:52:40 +00:00

Initial UI

This commit is contained in:
Víctor Losada Hernández
2024-05-21 08:01:50 +02:00
parent b8b1b9660f
commit bc9ab284d8
3 changed files with 155 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ const _ = require('lodash');
const MarkdownLegacy = require('naturalcrit/markdownLegacy.js');
const Markdown = require('naturalcrit/markdown.js');
const ErrorBar = require('./errorBar/errorBar.jsx');
const ToolBar = require('./toolBar/toolBar.jsx');
//TODO: move to the brew renderer
const RenderWarnings = require('homebrewery/renderWarnings/renderWarnings.jsx');
@@ -198,6 +199,7 @@ const BrewRenderer = (props)=>{
contentDidMount={frameDidMount}
onClick={()=>{emitClick();}}
>
<ToolBar />
<div className={'brewRenderer'}
onScroll={handleScroll}
style={{ height: state.height }}>