For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/genui/openui/core/interfaces/OpenUIState.md.
Lynx
  • 简体中文
  • 接口: OpenUIState

    由 useOpenUIState 返回的派生 OpenUI 渲染器状态。

    属性

    contextValue

    contextValue: OpenUIContextValue


    isQueryLoading

    isQueryLoading: boolean

    是否有 Query 正在获取数据。


    parseResult

    parseResult: ParseResult | null

    原始解析结果(props 中为 AST 节点)。供 onParseResult 回调使用。


    result

    result: ParseResult | null

    求值后的结果(props 已解析为具体值)。供 Renderer 使用。

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