interface StatusBadgeProps { active: boolean; onClick?: () => void; activeLabel?: string; inactiveLabel?: string; } export default function StatusBadge({ active, onClick, activeLabel = 'Ativo', inactiveLabel = 'Inativo' }: StatusBadgeProps) { const Component = onClick ? 'button' : 'span'; return ( {active ? activeLabel : inactiveLabel} ); }