Lynx

Home > @lynx-js/genui > useResolvedProps

useResolvedProps() function

Signature:

export declare function useResolvedProps(
  properties: Record<string, unknown>,
  surface: Surface | undefined,
  dataContextPath?: string,
  processor?: MessageProcessor,
  functions?: readonly CatalogFunctionEntry[],
): readonly [Record<string, unknown>, (key: string, value: unknown) => void];

Parameters

Parameter

Type

Description

properties

Record<string, unknown>

surface

Surface | undefined

dataContextPath

string

(Optional)

processor

MessageProcessor

(Optional)

functions

readonly CatalogFunctionEntry[]

(Optional)

Returns:

readonly [Record<string, unknown>, (key: string, value: unknown) => void]

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.