Doesn't handle incompatible value property
See original GitHub issueEverytime i’m facing some HTML using property such as ‘initial’, ‘normal’, ect. It is isn’t handled properly by this library
Warning: Failed prop type: Invalid prop `textDecorationColor` supplied to `Text`: initial
Warning: Failed prop type: Invalid prop `display` of value `inline` supplied to `Text`, expected one of ["none","flex"]
Warning: Failed prop type: Invalid prop `letterSpacing` of type `string` supplied to `Text`, expected `number`.
Bad object: {
"letterSpacing": "normal"
}
Warning: Failed prop type: Invalid prop `textDecorationStyle` of value `initial` supplied to `Text`, expected one of ["solid","double","dotted","dashed"].
Failed prop type: Invalid prop `textAlign` of value `start` supplied to `Text`, expected one of ["auto","left","right","center","justify"].
I can’t possibly ignore all these styling.
Using react-native-render-html
: 3.9.3
,
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (1 by maintainers)
Top Results From Across the Web
Doesn't handle incompatible value property #154 - GitHub
Everytime i'm facing some HTML using property such as 'initial', 'normal', ect. It is isn't handled properly by this library Warning: Failed ...
Read more >How to Handle the Incompatible Types Error in Java - Rollbar
The Java incompatible types error happens when a value assigned to a variable or returned by a method is incompatible with the one...
Read more >Property 'value' does not exist on type EventTarget in TypeScript
Property 'value' does not exist on type 'EventTarget'. But as it can be seen in the console.log that value does exist on the...
Read more >5 CSS properties and values that are incompatible
In this article, we looked at five such combinations which are: position: static and z-index: n.
Read more >How to fix property not existing on EventTarget in TypeScript
This error occurs when you try to access a property on an event target in TypeScript. Property 'value' does not exist on type...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ds8k !! was wondering the same. Ignoring styles fixed this issue. I ignored this by using this prop allowedStyles={[]}
any follow up on this?