react-twemoji
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "react-twemoji", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "A React wrapper for Twemoji", | ||
"keyword": [ | ||
"emoji", | ||
"react", | ||
@@ -65,3 +66,3 @@ "twemoji" | ||
"prop-types": "^15.7.2", | ||
"twemoji": "^13.0.1" | ||
"twemoji": "13.1.0" | ||
}, | ||
@@ -68,0 +69,0 @@ "peerDependencies": { |
@@ -19,3 +19,3 @@ # react-twemoji | ||
Simply use it to wrap your emotional content. Set `options` prop to pass options to `twemoji.parse`. | ||
Simply use it to wrap your emotional content. Set the `options` prop to pass options to `twemoji.parse`. | ||
@@ -30,3 +30,3 @@ ```jsx | ||
It outputs following HTML to DOM, | ||
It outputs the following HTML to DOM, | ||
@@ -49,3 +49,3 @@ ```html | ||
| `options` | `object` | `undefined` | `twemoji.parse` options. | | ||
| `noWrapper` | `boolean` | `false` | When it is `true`, `Twemoji` will not render a wrapping element (with `tag`) to contain children. Note that since `twemoji.parse` needs an DOM element reference, any direct pure text child of `Twemoji` is not parsed when `noWrapper` is `true`. E.g. `foo` in `<Twemoji noWrapper={true}>foo<p>bar</p></Twmoji>` is not parsed. | | ||
| `noWrapper` | `boolean` | `false` | When it is `true`, `Twemoji` will not render a wrapping element (with `tag`) to contain its children. Note that since `twemoji.parse` needs a DOM element reference, any direct pure text child of `Twemoji` is not parsed when `noWrapper` is `true`. E.g. `foo` in `<Twemoji noWrapper={true}>foo<p>bar</p></Twemoji>` is not parsed. | | ||
| `tag` | `string` | `div` | The tag of the wrapping element. This option is ignored when `noWrapper` is `true`. | | ||
@@ -52,0 +52,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
336883
9
+ Addedtwemoji@13.1.0(transitive)
- Removedtwemoji@13.1.1(transitive)
Updatedtwemoji@13.1.0