aboutsummaryrefslogtreecommitdiff
path: root/src/components/ui/button.tsx
diff options
context:
space:
mode:
authormihna123 <mihailonvojinovic@gmail.com>2026-06-06 19:51:23 +0200
committermihna123 <mihailonvojinovic@gmail.com>2026-06-06 19:51:23 +0200
commit31c60e3b4214c385ac8316597af53a525b55ca94 (patch)
tree3b7476a3c36b6408594989f3de18c90f5e4673f8 /src/components/ui/button.tsx
parentc2d33aa0c52bc2bee61b0195c30e37f81cafa643 (diff)
downloadinvoice-31c60e3b4214c385ac8316597af53a525b55ca94.tar.gz
invoice-31c60e3b4214c385ac8316597af53a525b55ca94.zip
feat: update the layout and add more pages
- Add a proper header to the layout - Add a help page with instructions how to generate an invoice - Add an empty blog page that will eventually be filled with blogs
Diffstat (limited to 'src/components/ui/button.tsx')
-rw-r--r--src/components/ui/button.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx
index 29768f6..7876454 100644
--- a/src/components/ui/button.tsx
+++ b/src/components/ui/button.tsx
@@ -7,7 +7,12 @@ export const Button = ({
return (
<button
{...props}
- className={cn('rounded-sm border px-2', 'cursor-pointer', className)}
+ className={cn(
+ 'rounded-sm border px-2',
+ 'cursor-pointer',
+ props.disabled && 'cursor-default',
+ className,
+ )}
/>
);
};