import { IconButton, IconButtonProps, Popover, PopoverArrow, PopoverContent, PopoverHeader, PopoverTrigger, } from "@chakra-ui/react"; import { CSSVariables } from "utils/CSSVariables"; interface Props { onClick?: () => void; icon: React.ReactElement; popup: string; } const MyIconButton: React.FC> = ({ onClick, icon, popup, ...props }) => { return ( {popup} ); }; export default MyIconButton;