@lit-labs/ssr-react
Version:
Lit SSR integration for React
21 lines • 670 B
TypeScript
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* Renders the shadow contents of the provided custom element type with props.
* Should only be called in server environments.
*/
export declare const renderCustomElement: (tagName: string, props: {} | null) => {
shadowContents: import("@lit-labs/ssr").RenderResult | undefined;
elementAttributes: {
[attributeName: string]: string;
};
templateAttributes: {
shadowrootdelegatesfocus?: string | undefined;
shadowroot: ShadowRootMode;
shadowrootmode: ShadowRootMode;
};
};
//# sourceMappingURL=render-custom-element.d.ts.map