UNPKG

@native-html/iframe-plugin

Version:

🌐 A WebView-based plugin to render iframes in react-native-render-html

28 lines (18 loc) 1.53 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@native-html/iframe-plugin](./iframe-plugin.md) ## iframe-plugin package ## Functions | Function | Description | | --- | --- | | [HTMLIframe({ WebView, webViewProps: userWebViewProps, source, style, onLinkPress, scaleFactor, injectedCSSStyles, removeBodySpacing, scalesPageToFit })](./iframe-plugin.htmliframe.md) | A component to render iframes in react-native-render-html. | | [useHtmlIframeProps({ style, tnode }, iframeConfig)](./iframe-plugin.usehtmliframeprops.md) | Extract props for the HTMLIframe component from renderer function arguments. This function is especially usefull for custom iframe renderers. | ## Interfaces | Interface | Description | | --- | --- | | [HTMLIframeProps](./iframe-plugin.htmliframeprops.md) | Props for the HTMLIframe component. | | [IframeConfig](./iframe-plugin.iframeconfig.md) | Configuration options for the HTMLIframe component. You can pass those options through <code>renderersProps.iframe</code> HTML prop. | ## Variables | Variable | Description | | --- | --- | | [iframeModel](./iframe-plugin.iframemodel.md) | The model to attach to custom iframe renderers. | | [IframeRenderer](./iframe-plugin.iframerenderer.md) | The renderer component for the iframe element. This renderer is fully scalable, and will adjust to <code>contentWidth</code> and <code>computeEmbeddedMaxWidth</code>. It also features <code>onLinkPress</code>. |