Add custom toolbar

This commit is contained in:
Eric NGUYEN 2023-02-17 11:53:19 +01:00
parent 4053763e44
commit b3338b0167
11 changed files with 319 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import { SymbolLayer } from './Elements/SymbolLayer';
import { type ISymbolModel } from '../../Interfaces/ISymbolModel';
import { DimensionLayer } from './Elements/DimensionLayer';
import { SelectorSymbol } from './Elements/SelectorSymbol/SelectorSymbol';
import { Toolbar } from './SVGReactPanZoom/ui-toolbar/Toolbar';
interface ISVGProps {
className?: string
@ -120,6 +121,7 @@ export function SVG(props: ISVGProps): JSX.Element {
width: 120,
height: 120
}}
customToolbar={Toolbar}
>
<svg {...properties}>
{children}