<aside> 📍 src/components/IFrameRenderer.jsx
</aside>


Props:
Any** props: props for IFrame.Global Variables:
none.
Local Variables:
String** webViewScript: Script needed to set proper height for datavizHTMLIframeProps<any>** iframeProps: Extracted props from IFrame to be used in React Native, using function useHtmlIframeProps.int** height (state): height state that is passed onto WebView and changed based on response from webViewScript.Purpose:
IframeRenderer is a component used to construct Internal Frame interfaces into the application (for example, the election map).
This is passed onto one of the renderers for RenderHTML. Refer to https://www.npmjs.com/package/react-native-render-html for more information.