All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
17 lines
490 B
JavaScript
17 lines
490 B
JavaScript
/** @deprecated v0.6.10 — No surface imports SurfaceViewport. Layout root is <body> in base.html.
|
|
*
|
|
* SurfaceViewport — container where the active surface renders
|
|
*
|
|
* Deliberately thin. Error boundaries and
|
|
* surface transitions will be added in later versions.
|
|
*/
|
|
const { html } = window;
|
|
|
|
export function SurfaceViewport({ surface = null, className = '' }) {
|
|
return html`
|
|
<div class="sw-surface-viewport ${className}">
|
|
${surface}
|
|
</div>
|
|
`;
|
|
}
|