Add `enableFrequentEmojiSort` to README

release
Etienne Lemay 2020-03-16 11:49:14 -04:00
parent 0e299ff4dd
commit c41fc5ec7a
No known key found for this signature in database
GPG Key ID: EE7CF89146BB28E9
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ import { Picker } from 'emoji-mart'
| **exclude** | | `[]` | Don't load excluded categories. Accepts [I18n categories keys](#i18n). | | **exclude** | | `[]` | Don't load excluded categories. Accepts [I18n categories keys](#i18n). |
| **custom** | | `[]` | [Custom emojis](#custom-emojis) | | **custom** | | `[]` | [Custom emojis](#custom-emojis) |
| **recent** | | | Pass your own frequently used emojis as array of string IDs | | **recent** | | | Pass your own frequently used emojis as array of string IDs |
| **enableFrequentEmojiSort** | | `false` | Instantly sort “Frequently Used” category |
| **emojiSize** | | `24` | The emoji width and height | | **emojiSize** | | `24` | The emoji width and height |
| **onClick** | | | Params: `(emoji, event) => {}`. Not called when emoji is selected with `enter` | | **onClick** | | | Params: `(emoji, event) => {}`. Not called when emoji is selected with `enter` |
| **onSelect** | | | Params: `(emoji) => {}` | | **onSelect** | | | Params: `(emoji) => {}` |