import React from "react" import Tooltip, { TooltipProps } from "../../atoms/tooltip" import AlertIcon from "../../fundamentals/icons/alert-icon" import InfoIcon from "../../fundamentals/icons/info-icon" import IconProps from "../../fundamentals/icons/types/icon-type" import XCircleIcon from "../../fundamentals/icons/x-circle-icon" type IconTooltipProps = TooltipProps & { type?: "info" | "warning" | "error" } & Pick const IconTooltip: React.FC = ({ type = "info", size = 16, content, ...props }) => { const icon = (type: IconTooltipProps["type"]) => { switch (type) { case "warning": return case "error": return default: return } } return ( {icon(type)} ) } export default IconTooltip