import React from 'react'; import { Flex, FlexProps } from '@chakra-ui/react'; import MyIcon from './index'; import MyTooltip from '../MyTooltip'; type Props = FlexProps & { icon: string; size?: string; onClick?: () => void; hoverColor?: string; tip?: string; }; const MyIconButton = ({ icon, onClick, hoverColor = 'primary.600', size = '1rem', tip, ...props }: Props) => { return ( ); }; export default MyIconButton;