import * as React from "react"; import styled from "styled-components"; import BlockMenuItem, { Props as BlockMenuItemProps } from "./BlockMenuItem"; const Emoji = styled.span` font-size: 16px; `; type Props = { emoji: React.ReactNode; title: React.ReactNode; }; const EmojiTitle = ({ emoji, title }: Props) => { return (

{emoji}    {title}

); }; type EmojiMenuItemProps = Omit & { emoji: string; }; export default function EmojiMenuItem(props: EmojiMenuItemProps) { return ( } /> ); }