From 3599769725defe5bc3b28fc17e523b6364dae7e9 Mon Sep 17 00:00:00 2001 From: Zx Date: Sun, 23 Jun 2019 23:25:32 -0700 Subject: [PATCH] nit fix in README --- README.md | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) 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",