Skip to content

Latest commit

 

History

History
82 lines (38 loc) · 1.14 KB

File metadata and controls

82 lines (38 loc) · 1.14 KB

Home > @native-html/iframe-plugin > useHtmlIframeProps

useHtmlIframeProps() function

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;

Parameters

Parameter

Type

Description

{ style, tnode }

(not declared)

input

CustomRendererProps<TBlock>

iframeConfig

IframeConfig

(Optional) Override config options.

Returns:

HTMLIframeProps