Created a new type called EmojiSelection based on this type found in the rn-emoji-keyboard codebase. This should be an improvement to what we had before ({ emoji: string, ... })
Details
Details
- Reviewers
atul kamil - Commits
- rCOMM44968631d0b6: [native] introduce EmojiSelection type
Everything still works and when I log out emoji in onEmojiSelected in native/avatars/emoji-avatar-creation.react.js I now get the improved field suggestions for emoji
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
native/components/emoji-keyboard.react.js | ||
---|---|---|
6–13 ↗ | (On Diff #27808) | Wonder if there's a better name for this type than EmojiType since alreadySelected seems like it's describing some aspect of the state of the emoji picker rather than the emoji being selected? Maybe EmojiSelection? |