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:
@@ -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;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@import './shared/naturalcrit/styles/core.less';
|
||||
|
||||
|
||||
.splitPane {
|
||||
position : relative;
|
||||
|
||||
Reference in New Issue
Block a user