import * as React from 'react';
import Popover from '@mui/material/Popover';
import Typography from '@mui/material/Typography';
import {rawEmojis} from '../app/emojis';
import Box from "@mui/material/Box";
const emojisByCategory = {};
rawEmojis.forEach(emoji => {
if (!emojisByCategory[emoji.category]) {
emojisByCategory[emoji.category] = [];
}
emojisByCategory[emoji.category].push(emoji);
});
const EmojiPicker = (props) => {
const open = Boolean(props.anchorEl);
return (
<>