UNPKG

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.

7 lines (6 loc) 196 B
import { Emoji } from '../types'; declare const useRecentEmojis: (enabled?: boolean) => { recentEmojis: Emoji[]; addRecentEmoji: (emoji: Emoji) => void; }; export default useRecentEmojis;