mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-15 21:05:22 +01:00
16 lines
No EOL
762 B
JavaScript
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); |