Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.5 KB

iframe-plugin.md

File metadata and controls

27 lines (18 loc) · 1.5 KB

Home > @native-html/iframe-plugin

iframe-plugin package

Functions

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.

Interfaces

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.

Variables

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.