Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
type alias FlexibleOption
import { type FlexibleOption } from "https://deno.land/x/react_querybuilder@v7.0.0-alpha.4/packages/react-querybuilder/src/types/options.ts";

A generic Option with either a name or value as its primary identifier. OptionList-type props accept this type, but corresponding props sent to subcomponents will always be translated to FullOption first.

Type Parameters

optional
N extends string = string
definition: { [x: string]: any; name: N; value?: N; label: string; } | { [x: string]: any; name?: N; value: N; label: string; }