Transfer scope

Generated by website/scripts/generate-api.ts from packages/gridla/src. Do not edit by hand; run bun run generate in website/.

Move items between providers. Wrap several GridProviders in a GridTransferScope; the pointer decides the target and the provider callbacks report the transfer.

import { GridTransferScope } from 'gridla/react'
ExportKindSummary
GridTransferScopecomponentLets items move between every GridProvider rendered inside it.

Components

GridTransferScope

component ยท react/transfer.tsx:12

Lets items move between every GridProvider rendered inside it. The pointer decides the target: the deepest registered canvas under the pointer that accepts the item previews the drop; releasing there commits it. Wraps a TransferScope from gridla/interaction in context.

export function GridTransferScope({ children }: { children?: ReactNode })