Hiyve Components - v1.0.0
    Preparing search index...

    Props for DragDropArea.

    interface DragDropAreaProps {
        children: ReactNode;
        labels?: Partial<DragDropLabels>;
        onDrop: (tileId: string, zoneId: string) => void;
        onDropOutside?: (tileId: string) => void;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    children: ReactNode
    labels?: Partial<DragDropLabels>
    onDrop: (tileId: string, zoneId: string) => void

    A tile was dropped on a zone — by dragging, or by tapping the tile and then the zone

    onDropOutside?: (tileId: string) => void

    A tile was dropped nowhere in particular; a tile already in a zone goes back to the bank when its zone allows that

    sx?: SxProps<Theme>