I'm trying to display the following html inside a react-native-paper List element
<!DOCTYPE html>
The iframe element
the h1 tag is displayed just fine but the iframe tag is not displayed.
So I searched for a solution and found the solution under issue #41 and I tried it. However, when I ran the application it crashed and I got the following error
"Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of HTMLIframe."
When I searched for the error on Google, it said that it is an import problem so I don't know what to do about it. So if you know what could be the problem or how to get the iframe to render, I would highly appreciate it.
Oath
I swear that I have completed these tasks before submitting:
Bug Report
I'm facing the same problem of this closed issue. I tried your solution but I got the following error
"Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of HTMLIframe."
Environment
React Native
Libraries
"@native-html/iframe-plugin": "^2.6.1", "react-native-webview": "^11.26.1", "react-native-render-html": "^6.3.4", RN 0.69.6
Devices
Reproduction
Description
I'm trying to display the following html inside a react-native-paper List element
<!DOCTYPE html>
The iframe element
the h1 tag is displayed just fine but the iframe tag is not displayed.
So I searched for a solution and found the solution under issue #41 and I tried it. However, when I ran the application it crashed and I got the following error
"Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of HTMLIframe."
When I searched for the error on Google, it said that it is an import problem so I don't know what to do about it. So if you know what could be the problem or how to get the iframe to render, I would highly appreciate it.
Reproducible Demo