Skip to main content

DecoratorComponentProps

Props for the decorator component.

Props​

Extends​

  • DOMAttributes<HTMLDivElement>

Properties​

constraints?​

optional constraints: FixedElementConstraints

Optional constraints when using fixed placement.


placement​

placement: string

Whether to float the element over the UI (floating) or place it on the canvas (fixed). Floating is the default.


position​

position: PointXY

Position relative to viewport (floating) or canvas (fixed).