// Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import type { CSSProperties, ReactNode } from 'react'; import React, { forwardRef } from 'react'; import classNames from 'classnames'; import { Emoji } from './emoji/Emoji'; import type { LocalizerType } from '../types/Util'; export enum ReactionPickerPickerStyle { Picker, Menu, } export const ReactionPickerPickerEmojiButton = React.forwardRef< HTMLButtonElement, { emoji: string; isSelected: boolean; onClick: () => unknown; title?: string; } >(function ReactionPickerPickerEmojiButtonInner( { emoji, onClick, isSelected, title }, ref ) { return ( ); }); export function ReactionPickerPickerMoreButton({ i18n, onClick, }: Readonly<{ i18n: LocalizerType; onClick: () => unknown; }>): JSX.Element { return (