@react-querybuilder/dnd
Interfaces
Interface | Description |
---|---|
CustomCanDropParams | Parameters passed to custom canDrop functions. |
QueryBuilderDndContextProps | - |
Type Aliases
Type alias | Description |
---|---|
QueryBuilderDndProps | QueryBuilderDnD props. |
UseReactDnD | Combination of all exports from react-dnd and react-dnd-html5-backend . |
Functions
Function | Description |
---|---|
InlineCombinatorDnD | The drag-and-drop-enabled inline combinator component. |
QueryBuilderDnD | Context provider to enable drag-and-drop. If the application already implements react-dnd , use QueryBuilderDndWithoutProvider instead. |
QueryBuilderDndWithoutProvider | Context provider to enable drag-and-drop. Only use this provider if the application already implements react-dnd , otherwise use QueryBuilderDnD. |
RuleDnD | Rule component for drag-and-drop. Renders the provided rule component (Rule by default), but forwards the drag-and-drop context. |
RuleGroupDnD | Rule group component for drag-and-drop. Renders the provided rule group component (RuleGroup by default), but forwards the drag-and-drop context so that child rules and groups will render within the appropriate drag-and-drop wrappers. |
useInlineCombinatorDnD | - |
useReactDnD | - |
useRuleDnD | - |
useRuleGroupDnD | - |
caution
API documentation is generated from the latest commit on the main
branch. It may be somewhat inconsistent with official releases of React Query Builder.