You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Compliance with [RFC001](https://github.com/archriss/react-native-render-html/blob/master/rfc/001-A-deterministic-approach-to-embedded-content-scaling.adoc#L13): scales to available width;
51
+
- Autoscale feature (adapt zoom level to available width! Enabled by default.);
51
52
- A single renderer function exported as default, super easy to plug-in!
52
53
- Compatible with `react-native-web` via [`@formidable-webview/web`](https://github.com/formidable-webview/ubiquitous/tree/master/packages/web#readme)
53
54
@@ -81,6 +82,7 @@ const renderers = {
81
82
WebView={WebView}
82
83
source={{ html:'<iframe ...></iframe>' }}
83
84
defaultWebViewProps={{ /* Any prop you want to pass to WebView */ }}
85
+
renderersProps={{ iframe: { autoscale:true/* enabled by default */ }}}
@@ -70,18 +78,15 @@ const iframe: RendererFunction<any> = function iframe(
70
78
"@native-html/iframe-plugin: You must pass a WebView component from react-native-webview as a prop to the HTML component. The iframe won't be rendered."
0 commit comments