weasel API - v0.8.0
    Preparing search index...

    Function PointerContextProvider

    • Experimental

      Wrap the part of the React tree that should share a pointer-position context. Usually placed at the demo / app root, alongside <ActionsProvider> and <SelectionContextProvider>.

      Most consumers don't need to mount this directly — <SceneCanvas> mounts an internal provider when no parent provider is in scope, so child hooks (useClipboard without an explicit getDropPoint) read the canvas's tracked pointer for free.

      Parameters

      • __namedParameters: { children: ReactNode }

      Returns ReactNode