OnDragFromToolbarToCreateShapesOpts
See source codeTable of contents
Options for onDragFromToolbarToCreateShape.
interface OnDragFromToolbarToCreateShapesOpts {}
Methods
createShape
Create the shape being dragged. You don't need to worry about positioning it, as it'll be immediately updated with the correct position.
Parameters
Name | Description |
---|---|
|
Returns
void
onDragEnd
optional
Called once the drag interaction has finished.
Parameters
Name | Description |
---|---|
|
Returns
void
Prev
NoteShapeOptionsNext
OverflowingToolbarProps