这是开发预览网站。请访问正式文档 lynxjs.org

Home > @lynx-js/genui > createA2UICatalog

createA2UICatalog() function

Signature:

export declare function createA2UICatalog(options: {
    catalogId: string;
    components: CatalogComponent[] | Record<string, JsonSchema>;
    functions?: FunctionDefinition[];
    theme?: Record<string, JsonSchema>;
}): A2UICatalog;

Parameters

Parameter

Type

Description

options

{ catalogId: string; components: CatalogComponent[] | Record<string, JsonSchema>; functions?: FunctionDefinition[]; theme?: Record<string, JsonSchema>; }

Returns:

A2UICatalog