(props: RenderHTMLProps)
| 20 | * @public |
| 21 | */ |
| 22 | export default function RenderHTML(props: RenderHTMLProps): ReactElement { |
| 23 | const { |
| 24 | source, |
| 25 | onHTMLLoaded, |
| 26 | onTTreeChange, |
| 27 | onDocumentMetadataLoaded, |
| 28 | contentWidth, |
| 29 | ...otherProps |
| 30 | } = props; |
| 31 | return ( |
| 32 | <RenderHTMLDebug {...props}> |
| 33 | <TRenderEngineProvider {...otherProps}> |
| 34 | <RenderHTMLConfigProvider {...otherProps}> |
| 35 | {React.createElement(RenderHTMLSource, { |
| 36 | source, |
| 37 | onHTMLLoaded, |
| 38 | onTTreeChange, |
| 39 | onDocumentMetadataLoaded, |
| 40 | contentWidth |
| 41 | })} |
| 42 | </RenderHTMLConfigProvider> |
| 43 | </TRenderEngineProvider> |
| 44 | </RenderHTMLDebug> |
| 45 | ); |
| 46 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…