Skip to content

Commit 02fc5ca

Browse files
committed
Rename QueryBuilderWithoutDndProvider to QueryBuilderDndWithoutProvider
1 parent 0a20031 commit 02fc5ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/querybuilder.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ const App = () => (
812812

813813
:::tip
814814

815-
If your application already uses [`react-dnd`](https://react-dnd.github.io/react-dnd/), use `QueryBuilderWithoutDndProvider` instead of `QueryBuilderDnD`. They are functionally equivalent, but the former relies on your pre-existing `<DndProvider />` (as long as it is higher up in the component tree). The latter renders its own provider which will clash with an ancestor `DndProvider`. (If you use the wrong component, you will probably see the error message "Cannot have two HTML5 backends at the same time.")
815+
If your application already uses [`react-dnd`](https://react-dnd.github.io/react-dnd/), use `QueryBuilderDndWithoutProvider` instead of `QueryBuilderDnD`. They are functionally equivalent, but the former relies on your pre-existing `<DndProvider />` (as long as it is higher up in the component tree). The latter renders its own provider which will clash with an ancestor `DndProvider`. (If you use the wrong component, you will probably see the error message "Cannot have two HTML5 backends at the same time.")
816816

817817
:::
818818

0 commit comments

Comments
 (0)