Home > @native-html/iframe-plugin > HTMLIframeProps
Props for the HTMLIframe component.
Signature:
export interface HTMLIframeProps<WebViewProps = any> extends IframeConfig Extends: IframeConfig
| 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; |