import React, { useState } from 'react'; interface IconButtonTypes { ariaLabel?: string | undefined; callback?: (() => void) | undefined; icon?: string | undefined; title?: string | undefined; tooltip?: null | undefined; ariaRole?: string | undefined; theme?: string; } const IconButton = ({ ariaLabel = '', callback = () => {}, icon = 'fa-thin fa-heart', title = '', tooltip = null, ariaRole, theme = 'border', }: IconButtonTypes) => { const [showTooltip, showTooltipSetter] = useState(false); return (