import EmojiPickerOriginal from "@emoji-mart/react";

type Emoji = {
  emoticons: string[];
  id: string;
  keywords: string[];
  name: string;
  native: string;
  shortcodes: string;
  unified: string;
};

type EmojiPickerProps = {
  onEmojiSelect: (emoji: Emoji) => void;
};

export const EmojiPicker = ({ onEmojiSelect }: EmojiPickerProps) => (
  <EmojiPickerOriginal onEmojiSelect={onEmojiSelect} />
);
