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]

除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。