Lynx

Home > @lynx-js/genui-a2ui > A2UIProps > wrapSurface

A2UIProps.wrapSurface property

Wrap each top-level surface so consumers can apply an outer theme shell, wrapper className, or additional styles.

Signature:

wrapSurface?: (children: ReactNode, ctx: {
        surfaceId: string;
    }) => ReactNode;
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.