react-emoji-toggle-button
Version:
A flexible and reusable React package to use an emoji picker and connect it with a text input using Ref. Toggle emoji button for React apps.
10 lines (9 loc) • 412 B
TypeScript
import { RefObject, SetStateAction } from 'react';
import { Emoji } from '../types';
interface IProps {
pickerRef: RefObject<HTMLDivElement | null>;
showSkinToneVariants: boolean;
setLongPressEmoji: (value: SetStateAction<Emoji | null>) => void;
}
declare const useResetLongPressEmoji: ({ pickerRef, setLongPressEmoji, showSkinToneVariants, }: IProps) => void;
export default useResetLongPressEmoji;