Skip to main content

Option<N>

Defined in: packages/react-querybuilder/src/types/options.ts:42

A generic option. Used directly in OptionList or as the child element of an OptionGroup.

Extends

Extended by

Type Parameters

Type ParameterDefault type
N extends stringstring

Indexable

[key: string]: unknown

Properties

disabled?

optional disabled: boolean

Defined in: packages/react-querybuilder/src/types/options.ts:34

Inherited from

WithUnknownIndex.disabled


label

label: string

Defined in: packages/react-querybuilder/src/types/options.ts:33

Inherited from

WithUnknownIndex.label


name

name: N

Defined in: packages/react-querybuilder/src/types/options.ts:31

Inherited from

WithUnknownIndex.name


value?

optional value: N

Defined in: packages/react-querybuilder/src/types/options.ts:32

Inherited from

WithUnknownIndex.value


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.