TeleportTarget
TeleportTarget(
props):Element
Component that allows to declare its children as teleport targets.
props
children?
ReactNode
(point, event) => void
Function that is called when the teleport target is hit
Returns
Element
TeleportTarget(
props):Element
Component that allows to declare its children as teleport targets.
ReactNode
(point, event) => void
Function that is called when the teleport target is hit
Element