@ferrucc-io/emoji-picker
Version:
A beautiful and modern emoji picker for React
19 lines (18 loc) • 499 B
TypeScript
import type { EmojiMetadata } from '../types/emoji';
type Row = {
type: 'header';
content: string;
} | {
type: 'emojis';
content: EmojiMetadata[];
};
interface UseEmojiKeyboardNavigationProps {
rows: Row[];
virtualizer: {
scrollToIndex: (index: number, options?: {
align?: 'start' | 'center' | 'end';
}) => void;
};
}
export declare function useEmojiKeyboardNavigation({ rows, virtualizer }: UseEmojiKeyboardNavigationProps): void;
export {};