add required props in <Emoji /> example
Without `size` <Emoji /> doesn't render correctly.release
parent
bb2aff1c3f
commit
67ac4a26df
|
@ -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 |
|
||||||
|
|
Loading…
Reference in New Issue