diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/components/EmojiPicker.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/components/EmojiPicker.tsx new file mode 100644 index 00000000..f2ff859b --- /dev/null +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/components/EmojiPicker.tsx @@ -0,0 +1,43 @@ +import data from '@emoji-mart/data'; +import Picker from '@emoji-mart/react'; +import React from 'react'; +import { useTranslation } from 'react-i18next'; + +import { Box } from '@/components'; + +interface EmojiPickerProps { + categories: string[]; + custom: { + name: string; + id: string; + emojis: string[]; + }[]; + onClickOutside: () => void; + onEmojiSelect: ({ native }: { native: string }) => void; +} + +export const EmojiPicker = ({ + categories, + custom, + onClickOutside, + onEmojiSelect, +}: EmojiPickerProps) => { + const { i18n } = useTranslation(); + + return ( + + + + ); +};