import React from "react";
import Frame, { type FrameComponentProps } from "react-frame-component";
type IframeWithStylesProps = FrameComponentProps & {
/** Optional width in pixels for the iframe viewport */
widthPx?: number;
/** Optional height in pixels for the iframe viewport. If omitted, CSS classes control height */
heightPx?: number;
};
/**
* Renders children into an iframe and mirrors the parent document's and