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/CreateOpenUiLibraryOptions.md.
Lynx
  • 简体中文
  • Interface: CreateOpenUiLibraryOptions

    创建 ReactLynx OpenUI 组件库的选项。

    Properties

    componentGroups?

    optional componentGroups?: ComponentGroup[]

    额外的组件分组;禁用默认组件时则为完整的分组集合。


    componentNames?

    optional componentNames?: readonly string[]

    将内置组件限制为这些名称,并自动保留选定的根组件。 自定义组件始终追加;禁用默认组件时忽略此选项。

    Default Value

    All built-in components.

    Example

    `componentNames: ['Stack', 'Text']`

    components?

    optional components?: DefinedComponent<any>[]

    额外的组件;禁用默认组件时则为完整的组件集合。


    includeDefaultComponents?

    optional includeDefaultComponents?: boolean

    是否包含内置组件和组件分组。

    Default Value

    true


    root?

    optional root?: string

    根组件名称;禁用默认组件时需自行提供其定义。

    Default Value

    'Stack'

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