| 1 | /** biome-ignore-all lint/suspicious/noExplicitAny: This use requires any */ |
| 2 | "use client"; |
| 3 | |
| 4 | import emojiMartData from "@emoji-mart/data"; |
| 5 | import { EmojiInputPlugin, EmojiPlugin } from "@platejs/emoji/react"; |
| 6 | |
| 7 | import { EmojiInputElement } from "@/components/plate/ui/emoji-node"; |
| 8 | |
| 9 | export const EmojiKit = [ |
| 10 | EmojiPlugin.configure({ |
| 11 | options: { data: emojiMartData as any }, |
| 12 | }), |
| 13 | EmojiInputPlugin.withComponent(EmojiInputElement), |
| 14 | ]; |
| 15 |