jsketcher/web/app/cad/sketch/components/SketcherToolbars.jsx
2020-05-05 02:13:41 -07:00

16 lines
No EOL
762 B
JavaScript

import React from 'react';
import ls from './SketcherToolbars.less';
import {createPlugableToolbar} from '../../dom/components/PlugableToolbar';
import '../../../sketcher/actions';
export default function SketcherToolbars({visible}) {
return <div className={ls.sketcherToolbars}>
<SketcherToolbarControl size='small'/>
<SketcherToolbarConstraints size='medium' vertical/>
<SketcherToolbarGeneral size='medium' vertical/>
</div>;
}
const SketcherToolbarGeneral = createPlugableToolbar(streams => streams.ui.toolbars.sketcherGeneral);
const SketcherToolbarConstraints = createPlugableToolbar(streams => streams.ui.toolbars.sketcherConstraints);
const SketcherToolbarControl = createPlugableToolbar(streams => streams.ui.toolbars.sketcherControl);