Home > @native-html/iframe-plugin
Function | Description |
---|---|
HTMLIframe({ WebView, webViewProps: userWebViewProps, source, style, onLinkPress, scaleFactor, injectedCSSStyles, removeBodySpacing, scalesPageToFit }) | A component to render iframes in react-native-render-html. |
useHtmlIframeProps({ style, tnode }, iframeConfig) | Extract props for the HTMLIframe component from renderer function arguments. This function is especially usefull for custom iframe renderers. |
Interface | Description |
---|---|
HTMLIframeProps | Props for the HTMLIframe component. |
IframeConfig | Configuration options for the HTMLIframe component. You can pass those options through renderersProps.iframe HTML prop. |
Variable | Description |
---|---|
iframeModel | The model to attach to custom iframe renderers. |
IframeRenderer | The renderer component for the iframe element. This renderer is fully scalable, and will adjust to contentWidth and computeEmbeddedMaxWidth . It also features onLinkPress . |