Module

React.Basic.ReactDND

Package
purescript-react-dnd-basic
Repository
lumihq/purescript-react-dnd-basic

#Backend Source

data Backend :: Type

#DNDContext Source

#dndProvider Source

#useDrag Source

useDrag :: { id :: String, type :: String } -> Hook UseDrag { connectDrag :: Ref (Nullable Node), isDragging :: Boolean }

#UseDrag Source

data UseDrag :: Type -> Type

#useDrop Source

useDrop :: { accept :: String, onDrop :: String -> Effect Unit } -> Hook UseDrop { connectDrop :: Ref (Nullable Node), id :: Maybe String, isOver :: Boolean }

#UseDrop Source

data UseDrop :: Type -> Type