Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3396685
D8228.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
778 B
Referenced Files
None
Subscribers
None
D8228.diff
View Options
diff --git a/native/components/emoji-keyboard.react.js b/native/components/emoji-keyboard.react.js
--- a/native/components/emoji-keyboard.react.js
+++ b/native/components/emoji-keyboard.react.js
@@ -3,6 +3,20 @@
import * as React from 'react';
import EmojiPicker from 'rn-emoji-keyboard';
+const categoryOrder = [
+ 'recently_used',
+ 'smileys_emotion',
+ 'people_body',
+ 'animals_nature',
+ 'food_drink',
+ 'travel_places',
+ 'activities',
+ 'objects',
+ 'symbols',
+ 'flags',
+ 'search',
+];
+
export type EmojiSelection = {
+emoji: string,
+name: string,
@@ -28,6 +42,8 @@
onClose={onEmojiKeyboardClose}
enableSearchBar
enableSearchAnimation={false}
+ enableRecentlyUsed
+ categoryOrder={categoryOrder}
/>
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 2, 2:01 PM (19 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2607779
Default Alt Text
D8228.diff (778 B)
Attached To
Mode
D8228: [native] add recently used category to emoji picker
Attached
Detach File
Event Timeline
Log In to Comment