Skip to content

Commit 3580d77

Browse files
committed
fix(iframe): did not pick config passed in rendererProps
1 parent 53e322c commit 3580d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/iframe-plugin/src/useHtmlIframeProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function useHtmlIframeProps(
3838
computeEmbeddedMaxWidth
3939
} = useSharedProps();
4040
const contentWidth = useContentWidth();
41-
const globalIframeConfig = useRendererProps('table');
41+
const globalIframeConfig = useRendererProps('iframe');
4242
const { onPress: onLinkPress } = useRendererProps('a');
4343
const resolvedConfig = {
4444
...defaultIframeConfig,

0 commit comments

Comments
 (0)