UNPKG

@indahash/emoji-picker-react

Version:

Emoji Picker component for React Applications on the web

12 lines (11 loc) 599 B
import { DataEmoji } from '../dataUtils/DataTypes'; export declare function useClearSearch(): () => void; export declare function useAppendSearch(): (str: string) => void; export declare function useFilter(): { onChange: (inputValue: string) => void; searchTerm: string; SearchInputRef: import("../components/context/ElementRefContext").ElementRef<HTMLInputElement>; }; export declare function useIsEmojiFiltered(): (unified: string) => boolean; export declare type FilterDict = Record<string, DataEmoji>; export declare function getNormalizedSearchTerm(str: string): string;