signal-desktop/ts/state/smart/renderEmojiPicker.tsx

26 lines
567 B
TypeScript
Raw Normal View History

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import { RenderEmojiPickerProps } from '../../components/conversation/ReactionPicker';
import { SmartEmojiPicker } from './EmojiPicker';
export function renderEmojiPicker({
ref,
onClickSettings,
onPickEmoji,
onClose,
style,
}: RenderEmojiPickerProps): JSX.Element {
return (
<SmartEmojiPicker
ref={ref}
onClickSettings={onClickSettings}
onPickEmoji={onPickEmoji}
onClose={onClose}
style={style}
/>
);
}