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

    CreateOpenUiLibraryOptions

    Options for creating a ReactLynx OpenUI component library.

    属性

    componentGroups?

    optional componentGroups: ComponentGroup[];

    Additional groups, or the complete set when defaults are disabled.

    定义于

    @lynx-js/genui/openui/src/core/createLibraryBase.ts:19


    components?

    optional components: CoreDefinedComponent<T, ComponentRenderer<infer<T>>>[];

    Additional components, or the complete set when defaults are disabled.

    定义于

    @lynx-js/genui/openui/src/core/createLibraryBase.ts:17


    includeDefaultComponents?

    optional includeDefaultComponents: boolean;

    Whether to include the built-in components and component groups. Defaults to true.

    定义于

    @lynx-js/genui/openui/src/core/createLibraryBase.ts:15


    root?

    optional root: string;

    Override the root component name. Defaults to 'Stack'.

    定义于

    @lynx-js/genui/openui/src/core/createLibraryBase.ts:10

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