mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 08:28:17 +01:00
Send message when pressing enter in the emoji picker
This commit is contained in:
committed by
Scott Nonnenberg
parent
0a16c905b9
commit
d23efc6717
@@ -13,13 +13,19 @@ export type OwnProps = {
|
||||
export type Props = OwnProps &
|
||||
Pick<
|
||||
EmojiPickerProps,
|
||||
'onClose' | 'onPickEmoji' | 'skinTone' | 'onSetSkinTone' | 'recentEmojis'
|
||||
| 'onClose'
|
||||
| 'onForceSend'
|
||||
| 'onPickEmoji'
|
||||
| 'skinTone'
|
||||
| 'onSetSkinTone'
|
||||
| 'recentEmojis'
|
||||
>;
|
||||
|
||||
export const EmojiButton = React.memo(
|
||||
({
|
||||
i18n,
|
||||
onClose,
|
||||
onForceSend,
|
||||
onPickEmoji,
|
||||
skinTone,
|
||||
onSetSkinTone,
|
||||
@@ -98,6 +104,7 @@ export const EmojiButton = React.memo(
|
||||
i18n={i18n}
|
||||
style={style}
|
||||
onPickEmoji={onPickEmoji}
|
||||
onForceSend={onForceSend}
|
||||
onClose={handleClose}
|
||||
skinTone={skinTone}
|
||||
onSetSkinTone={onSetSkinTone}
|
||||
|
||||
Reference in New Issue
Block a user