clauderic / dnd-kit

The modern, lightweight, performant, accessible and extensible drag & drop toolkit for React.
http://dndkit.com
MIT License
12.63k stars 630 forks source link

there is zero documentation about the DndContext props #1468

Open Johnrobmiller opened 1 month ago

Johnrobmiller commented 1 month ago

I went to look up what the cancelDrop prop did on the DndContext, but I was dismayed to find that there is zero information about it on the web, so there's no way to know how to use it or what it does.

It should be here: https://docs.dndkit.com/api-documentation/context-provider

I don't understand how people could pour hundreds of hours into building something like this just to not document the props so that people can use it, it doesn't make any sense.

Bhavikpatel576 commented 1 month ago

I went to look up what the cancelDrop prop did on the DndContext, but I was dismayed to find that there is zero information about it on the web, so there's no way to know how to use it or what it does.

It should be here: https://docs.dndkit.com/api-documentation/context-provider

I don't understand how people could pour hundreds of hours into building something like this just to not document the props so that people can use it, it doesn't make any sense.

Why not create a PR?