Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.53 KB

File metadata and controls

27 lines (19 loc) · 1.53 KB

Home > @native-html/iframe-plugin > HTMLIframeProps

HTMLIframeProps interface

Props for the HTMLIframe component.

Signature:

export interface HTMLIframeProps<WebViewProps = any> extends IframeConfig 

Extends: IframeConfig

Properties

Property Type Description
htmlAttribs Record<string, string> Html attributes for this iframe node.
onLinkPress? RenderersProps['a']['onPress'] (Optional) Handle link press events.
scaleFactor number When scalesPageToFit is enabled, scales the WebView zoom level to make sure the viewport fits contentWidth.
source { uri?: string; html?: string; } The source for the iframe.
style StyleProp<ViewStyle> Container style.
WebView ComponentType<WebViewProps> The WebView Component you wish to use.
webViewProps? WebViewProps (Optional) Props to be passed to the WebView component;