Skip to content

Commit 08c97be

Browse files
authored
Merge pull request jsdf#164 from jsdf/0.12.1
0.12.1
2 parents 9b2f290 + a6a4ef0 commit 08c97be

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ For further understanding of the possiblities of the `renderNode` prop, read thr
189189
In addition to supplying a custom `renderNode` function, you can customize what is rendered by the built in `renderNode` function. Read through [htmlToElement.js](https://github.com/jsdf/react-native-htmlview/blob/master/htmlToElement.js) and note the usage of NodeComponent (for rendering HTML element nodes) and TextComponent (for rendering text strings in the HTML). Both of these components can be injected as the `NodeComponent` and `TextComponent` props to HTMLView, or alternatively they can be given extra props by passing an object as the `nodeComponentProps` and `textComponentProps` props. Finally you can also use the props `RootComponent` and `rootComponentProps` to customize the root wrapper `View` element that is rendered by the HTMLView in [HTMLView.js](https://github.com/jsdf/react-native-htmlview/blob/master/HTMLView.js).
190190

191191
### Changelog
192+
- 0.12.1
193+
- use ViewPropTypes
194+
- fix an issue with htmlparser2-without-node-native and inline-requires
195+
- Thanks to @nikolaik and @douglasjunior
192196
- 0.12.0
193197
- inherited styles are now applied in the correct order
194198
- fixed an issue where the style array was unnecessarily complex and included multiple empty objects

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-htmlview",
3-
"version": "0.12.0",
3+
"version": "0.12.1",
44
"description": "A component which renders HTML content as native views",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)