diff --git a/src/components/Button.tsx b/src/components/Button.tsx index dea9afe..70182c8 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -3,38 +3,38 @@ import { Tooltip, TooltipContent, TooltipTrigger } from "./ui/Tooltip"; interface ButtonProps { text?: JSX.Element | string; - url?: string; icon?: JSX.Element; color?: string; tooltip?: React.ReactNode; className?: string; + ariaLabel?: string; onClick?: () => void; } export default function Button({ text, - url, icon, color, tooltip, className, + ariaLabel = "Default button label", onClick, }: ButtonProps) { if (!color) color = "bg-blue-500"; const base = ( - -

- {icon} - {text} -

-
+ ); if (tooltip) {