TechDocsShadowDomProps
Home > @backstage/plugin-techdocs-react
> TechDocsShadowDomProps
Props for TechDocsShadowDom().
Signature:
export type TechDocsShadowDomProps = PropsWithChildren<{
element: Element;
onAppend?: (shadowRoot: ShadowRoot) => void;
}>;
Remarks
If you want to use portals to render Material UI components in the Shadow DOM, you must render these portals as children because this component wraps its children in a Material UI StylesProvider to ensure that Material UI styles are applied.