import React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import type { IconDefinition } from '@fortawesome/fontawesome-svg-core' interface IconButtonProps { icon: IconDefinition onClick?: (e: React.MouseEvent) => void title?: string ariaLabel?: string variant?: 'primary' | 'success' | 'ghost' size?: number disabled?: boolean spin?: boolean className?: string style?: React.CSSProperties } const IconButton: React.FC = ({ icon, onClick, title, ariaLabel, variant = 'ghost', size = 33, disabled = false, spin = false, className = '', style }) => { return ( ) } export default IconButton