Home > @native-html/iframe-plugin > useHtmlIframeProps
Extract props for the HTMLIframe component from renderer function arguments. This function is especially usefull for custom iframe renderers.
Signature:
export default function useHtmlIframeProps(input: CustomRendererProps<TBlock>, iframeConfig?: IframeConfig): HTMLIframeProps;|
Parameter |
Type |
Description |
|---|---|---|
|
{ style, tnode } |
(not declared) | |
|
input |
CustomRendererProps<TBlock> | |
|
iframeConfig |
(Optional) Override config options. |
Returns: