import { Popover, Tooltip, chakra, PopoverTrigger, PopoverContent, Flex, useColorModeValue, } from '@chakra-ui/react' import React from 'react' import { EmojiOrImageIcon } from './EmojiOrImageIcon' import { ImageUploadContent } from './ImageUploadContent' type Props = { uploadFilePath: string icon?: string | null onChangeIcon: (icon: string) => void boxSize?: string } export const EditableEmojiOrImageIcon = ({ uploadFilePath, icon, onChangeIcon, boxSize, }: Props) => { const bg = useColorModeValue('gray.100', 'gray.700') return ( {({ onClose }: { onClose: () => void }) => ( <> )} ) }