Merge pull request #155 from veob/patch-1

add required props in <Emoji /> example
release
Etienne Lemay 2017-12-28 10:03:40 -05:00 committed by GitHub
commit 048838cb2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -136,9 +136,9 @@ Sheets are served from [unpkg](https://unpkg.com), a global CDN that serves file
```jsx ```jsx
import { Emoji } from 'emoji-mart' import { Emoji } from 'emoji-mart'
<Emoji emoji={{ id: 'santa', skin: 3 }} /> <Emoji emoji={{ id: 'santa', skin: 3 }} size={16} />
<Emoji emoji=':santa::skin-tone-3:' /> <Emoji emoji=':santa::skin-tone-3:' size={16} />
<Emoji emoji='santa' set='emojione' /> <Emoji emoji='santa' set='emojione' size={16} />
``` ```
| Prop | Required | Default | Description | | Prop | Required | Default | Description |