// Copyright 2020-2021 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; } >(({ emoji, onClick, isSelected, title }, ref) => ( )); export const ReactionPickerPickerMoreButton = ({ i18n, onClick, }: Readonly<{ i18n: LocalizerType; onClick: () => unknown; }>): JSX.Element => ( ); export const ReactionPickerPicker = forwardRef< HTMLDivElement, { children: ReactNode; isSomethingSelected: boolean; pickerStyle: ReactionPickerPickerStyle; style?: CSSProperties; } >(({ children, isSomethingSelected, pickerStyle, style }, ref) => (
{children}
));