A2uiCatalog
@Immutable
A component catalog (A2UI §"The component catalog"): the component types and functions a surface may use, rendered natively. Basic is the A2UI Basic Catalog; extend adds or replaces components and functions — your design system's components, under your own catalog id.
Constructors
Link copied to clipboard
constructor(id: String, components: Map<String, A2uiComponent>, functions: Map<String, A2uiFunction>, protocolVersion: String = A2ui.VERSION)
Properties
Functions
Link copied to clipboard
fun extend(id: String = this.id, components: Map<String, A2uiComponent> = emptyMap(), functions: Map<String, A2uiFunction> = emptyMap()): A2uiCatalog