0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-23 09:53:06 +00:00

first stage, unfinished

This commit is contained in:
Víctor Losada Hernández
2026-01-20 19:40:52 +01:00
parent 9fe918e2f0
commit 9b93be7e23
9 changed files with 65 additions and 35 deletions

View File

@@ -1,5 +1,5 @@
require('./splitPane.less');
const React = require('react');
import "./splitPane.less";
import React from "react";
const { useState, useEffect } = React;
const PANE_WIDTH_KEY = 'HB_editor_splitWidth';
@@ -108,4 +108,4 @@ const Pane = ({ width, children, isDragging, moveBrew, moveSource, liveScroll, s
);
};
module.exports = SplitPane;
export default SplitPane;

View File

@@ -1,3 +1,5 @@
@import './shared/naturalcrit/styles/core.less';
.splitPane {
position : relative;