Interface: InlineCombinatorDndProps
@react-querybuilder/dnd.InlineCombinatorDndProps
InlineCombinatorDnD props.
Hierarchy
-
InlineCombinatorProps
↳
InlineCombinatorDndProps
Properties
className
Optional
className: string
CSS classNames to be applied.
This is string
and not Classname because the Rule
and RuleGroup components run clsx()
to produce the className
that gets passed to each subcomponent.
Inherited from
InlineCombinatorProps.className
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1534
component
component: ComponentType
<CombinatorSelectorProps
>
Inherited from
InlineCombinatorProps.component
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:904
context
Optional
context: any
Container for custom props that are passed to all components.
Inherited from
InlineCombinatorProps.context
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1554
disabled
Optional
disabled: boolean
Disables the control.
Inherited from
InlineCombinatorProps.disabled
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1550
independentCombinators
Optional
independentCombinators: boolean
Inherited from
InlineCombinatorProps.independentCombinators
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:905
level
level: number
The level of the current group. Always equal to path.length
.
Inherited from
InlineCombinatorProps.level
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1542
options
options: FullCombinator
<string
>[] | OptionGroup
<FullCombinator
<string
>>[]
Inherited from
InlineCombinatorProps.options
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1598
path
path: Path
Path to this subcomponent's rule/group within the query.
Inherited from
InlineCombinatorProps.path
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1538
rules
Optional
rules: RuleOrGroupArray
Inherited from
InlineCombinatorProps.rules
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1599
schema
schema: Schema
<FullOption
<string
>, string
>
All subcomponents receive the configuration schema as a prop.
Inherited from
InlineCombinatorProps.schema
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1566
testID
Optional
testID: string
Test ID for this component.
Inherited from
InlineCombinatorProps.testID
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1562
title
Optional
title: string
The title/tooltip for this control.
Inherited from
InlineCombinatorProps.title
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1546
useDrop
useDrop: <DragObject, DropResult, CollectedProps>(specArg
: FactoryOrInstance
<DropTargetHookSpec
<DragObject
, DropResult
, CollectedProps
>>, deps?
: unknown
[]) => [CollectedProps
, ConnectDropTarget
]
Type declaration
<DragObject
, DropResult
, CollectedProps
>(specArg
, deps?
): [CollectedProps
, ConnectDropTarget
]
useDropTarget Hook
Type parameters
Name | Type |
---|---|
DragObject | unknown |
DropResult | unknown |
CollectedProps | unknown |
Parameters
Name | Type | Description |
---|---|---|
specArg | FactoryOrInstance <DropTargetHookSpec <DragObject , DropResult , CollectedProps >> | - |
deps? | unknown [] | The memoization deps array to use when evaluating spec changes |
Returns
[CollectedProps
, ConnectDropTarget
]
Defined in
validation
Optional
validation: boolean
| ValidationResult
Validation result of the parent rule/group.
Inherited from
InlineCombinatorProps.validation
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1558
value
Optional
value: string
Inherited from
InlineCombinatorProps.value
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1572
Methods
handleOnChange
handleOnChange(value
): void
Parameters
Name | Type |
---|---|
value | any |
Returns
void
Inherited from
InlineCombinatorProps.handleOnChange
Defined in
packages/react-querybuilder/dist/cjs/react-querybuilder.cjs.production.d.ts:1573