diff --git a/README.md b/README.md index 81a162a..b59d4f1 100644 --- a/README.md +++ b/README.md @@ -41,11 +41,11 @@ It outputs following HTML to DOM, ### Props -| Name | Type | Default | Description| -|:---- |:---- |:---- |:----| -| `options` | `Object` | `{}` | `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 `foo

bar

` is not parsed. | -| `tag` | `string` | `div` | The tag of the wrapping element. This option is ignored when `noWrapper` is `true`. | +| Name | Type | Default | Description| +|:---- |:---- |:---- |:----| +| `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 `foo

bar

` is not parsed. | +| `tag` | `string` | `div` | The tag of the wrapping element. This option is ignored when `noWrapper` is `true`. | ### Run example diff --git a/package.json b/package.json index 443a005..9abdd5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-twemoji", - "version": "0.2.2", + "version": "0.2.3", "description": "A React wrapper for Twemoji", "keyword": [ "react",