Add custom toolbar
This commit is contained in:
parent
4053763e44
commit
b3338b0167
11 changed files with 319 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue