@dxos/react-ui-list
    Preparing search index...

    Type Alias TreeDropEvent<T>

    type TreeDropEvent<T extends { id: string } = any> = {
        atEnd?: boolean;
        instruction: Instruction;
        item: T;
        source: TreeData;
        target: TreeData;
    }

    Type Parameters

    • T extends { id: string } = any
    Index

    Properties

    atEnd?: boolean

    Dropped on the end strip (dropAtEnd): instruction is then reorder-below the last top-level row, or make-child of the root when the tree is empty.

    instruction: Instruction
    item: T
    source: TreeData
    target: TreeData