TSelectItemKey

type
Data & Selection

Flexible item-key resolver for list/select components — boolean, string, array path or function.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

string
false
true
readonly (string | number)[]
(item: T, fallback?: any) => any

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

String key (dot notation)

html

Function resolver

html