Home > @lynx-js/genui > A2UIProps
#A2UIProps interface
Signature:
export interface A2UIProps #Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
readonly CatalogInput[] |
Components the renderer is allowed to instantiate. Each item is either a bare component (name read from | ||
|
string |
(Optional) Optional class name applied to the top-level | ||
|
The raw-message buffer the developer pushes protocol messages into. The internal | |||
|
(action: UserActionPayload) => void |
(Optional) Called when a user action fires inside the rendered tree (button tap, etc.). Forward to your agent and push the response messages back into the same | ||
|
() => ReactNode |
(Optional) Render before the first | ||
|
(err: unknown) => ReactNode |
(Optional) Render when the active resource fails. | ||
|
() => ReactNode |
(Optional) Render while the active resource is pending. | ||
|
(info: UnsupportedInfo) => ReactNode |
(Optional) Render when unsupported data syntax or an unsupported component is encountered. | ||
|
(children: ReactNode, ctx: { surfaceId: string; }) => ReactNode |
(Optional) Wrap each top-level surface so consumers can apply an outer theme shell, wrapper className, or additional styles. |

