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) 257 B
import { RefObject } from 'react'; declare const useInputPlaceholderAndDir: ({ lang, textInputRef, }: { textInputRef: RefObject<HTMLInputElement | HTMLTextAreaElement | null>; lang: "en" | "ar"; }) => void; export default useInputPlaceholderAndDir;