Skip to main content

Option<N>

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

Inherited from

WithUnknownIndex.disabled

Defined in

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


label

label: string

Inherited from

WithUnknownIndex.label

Defined in

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


name

name: N

Inherited from

WithUnknownIndex.name

Defined in

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


value?

optional value: N

Inherited from

WithUnknownIndex.value

Defined in

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


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.