Skip to content

Commit e3b27b4

Browse files
committed
chore: update markdown files
1 parent 7fa3b6d commit e3b27b4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/iframe-plugin/docs/iframe-plugin.htmliframe.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A component to render iframes in react-native-render-html.
99
<b>Signature:</b>
1010

1111
```typescript
12-
export default function HTMLIframe({ WebView, webViewProps: userWebViewProps, source, style, onLinkPress, scaleFactor, injectedCSSStyles, removeBodySpacing, scalesPageToFit }: HTMLIframeProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
12+
export default function HTMLIframe({ WebView, webViewProps: userWebViewProps, source, style, onLinkPress, scaleFactor, injectedCSSStyles, removeBodySpacing, scalesPageToFit }: HTMLIframeProps): JSX.Element;
1313
```
1414

1515
## Parameters
@@ -20,5 +20,5 @@ export default function HTMLIframe({ WebView, webViewProps: userWebViewProps, so
2020

2121
<b>Returns:</b>
2222

23-
React.ReactElement&lt;any, string \| React.JSXElementConstructor&lt;any&gt;&gt;
23+
JSX.Element
2424

packages/iframe-plugin/etc/iframe-plugin.api.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ import { CustomBlockRenderer } from 'react-native-render-html';
99
import { CustomRendererProps } from 'react-native-render-html';
1010
import { HTMLContentModel } from 'react-native-render-html';
1111
import { HTMLElementModel } from '@native-html/transient-render-engine';
12-
import { default as React_2 } from 'react';
1312
import { RenderersProps } from 'react-native-render-html';
1413
import { StyleProp } from 'react-native';
1514
import type { TBlock } from '@native-html/transient-render-engine';
1615
import { ViewStyle } from 'react-native';
1716

1817
// @public
19-
export function HTMLIframe({ WebView, webViewProps: userWebViewProps, source, style, onLinkPress, scaleFactor, injectedCSSStyles, removeBodySpacing, scalesPageToFit }: HTMLIframeProps): React_2.ReactElement<any, string | React_2.JSXElementConstructor<any>>;
18+
export function HTMLIframe({ WebView, webViewProps: userWebViewProps, source, style, onLinkPress, scaleFactor, injectedCSSStyles, removeBodySpacing, scalesPageToFit }: HTMLIframeProps): JSX.Element;
2019

2120
// @public
2221
export interface HTMLIframeProps<WebViewProps = any> extends IframeConfig {

0 commit comments

Comments
 (0)