@dxos/react-ui
    Preparing search index...
    type DragHandleProps = {
        "data-testid"?: string;
        disabled?: boolean;
        label?: string;
        onMove?: (direction: DragMoveDirection) => void;
    }
    Index

    Properties

    "data-testid"?: string
    disabled?: boolean
    label?: string

    Names the handle for assistive tech; the translated "Drag to rearrange" by default.

    onMove?: (direction: DragMoveDirection) => void

    Moves the item one place; makes the handle a tab stop with a keyboard contract: Alt+ArrowUp/Down move at once, Space or Enter grabs so ArrowUp/Down move, and Space, Enter, Escape or leaving the handle drops. Without it the handle is a pointer-only grip, outside the tab order.