This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/genui > 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;