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

Home > @lynx-js/genui > A2UIProps > catalogs

A2UIProps.catalogs property

Components the renderer is allowed to instantiate. Each item is either a bare component (name read from displayName ?? name) or a tuple [component, manifest] where the manifest is the JSON the extractor emits at dist/catalog/<Name>/catalog.json.

Signature:

catalogs: readonly CatalogInput[];