Skip to content

API Reference / @gtkx/config / Arg

Type Alias: Arg

Arg = ArgRef | { prop: string; } | { field: string; or?: JsonValue; } | { literal: JsonValue; }

Defined in: element-props.d.ts:17

A single argument passed to a method Call: an ArgRef, a value read from a React prop ({ prop }), a field read off the current item with an optional fallback ({ field, or }), or a constant ({ literal }).

Released under the MPL-2.0 License.