You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am also having this issue and agree that the HTMLViewNode type should be updated to include children. @lethanhan97 it looks like this repo hasn't been updated in quite some time. were you able to find a workaround?
Hey guys, stumbled upon this issue.
When I'm trying to provide the
renderNode
prop toRNHTMLView
using Typescript, an argumentnode
with typeHTMLViewNode
was providedThe
HTMLViewNode
type indicate thatnode
doesn't have a type name children. However, it turns out thatnode
does have thechildren
typeCould the type be updated so that
children
is declared inHTMLViewNode
?Type declaration on
react-native-htmlview/index.d.ts
Package info:
react-native-htmlview
:0.16.0
@types/react-native-html-view
:0.12.2
The text was updated successfully, but these errors were encountered: