Lynx

Home > @lynx-js/genui-openui > OpenUiRenderer

OpenUiRenderer() function

Signature:

export declare function OpenUiRenderer(props: {
  result: ParseResult | null;
  library: Library;
  onAction?: (event: ActionEvent) => void;
  isStreaming?: boolean;
}): import('@lynx-js/react').JSX.Element | null;

Parameters

Parameter

Type

Description

props

{ result: ParseResult | null; library: Library; onAction?: (event: ActionEvent) => void; isStreaming?: boolean; }

Returns:

import("@lynx-js/react").JSX.Element | null

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.