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
Copy file name to clipboardExpand all lines: README.md
+14-4Lines changed: 14 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,11 @@
2
2
3
3
An HTML to React parser.
4
4
5
-
`Parser(htmlString[, options])`
5
+
```
6
+
Parser(htmlString[, options])
7
+
```
6
8
7
-
This parser converts an HTML string to [React element(s)](https://facebook.github.io/react/docs/glossary.html#react-elements). There is also a `replace`option if you want to swap a specific element with your own React element.
9
+
The parser converts an HTML string to [React element(s)](https://facebook.github.io/react/docs/glossary.html#react-elements). You can also `replace` element(s) with your own custom React element(s) via the parser options.
0 commit comments