aboutsummaryrefslogtreecommitdiff
path: root/src/components/ui
diff options
context:
space:
mode:
authormihailo.vojinovic <mihailonvojinovic@gmail.com>2026-02-04 17:45:38 +0100
committermihailo.vojinovic <mihailonvojinovic@gmail.com>2026-02-04 17:45:38 +0100
commit94c9c0e87db6d878d1488ebeff60d728a89fc12d (patch)
treeabe8984b34b8d00ba8b722a4717399063d584334 /src/components/ui
parentc77f727c419200b5d8f4e77d01675136113d2712 (diff)
downloadinvoice-94c9c0e87db6d878d1488ebeff60d728a89fc12d.tar.gz
invoice-94c9c0e87db6d878d1488ebeff60d728a89fc12d.zip
Add invoice generator component
Diffstat (limited to 'src/components/ui')
-rw-r--r--src/components/ui/button.tsx13
-rw-r--r--src/components/ui/input.tsx13
2 files changed, 26 insertions, 0 deletions
diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx
new file mode 100644
index 0000000..32b9aac
--- /dev/null
+++ b/src/components/ui/button.tsx
@@ -0,0 +1,13 @@
+import { cn } from "@/utils/cn";
+
+export const Button = ({
+ className,
+ ...props
+}: React.ComponentPropsWithRef<"button">) => {
+ return (
+ <button
+ {...props}
+ className={cn("rounded-sm border px-2", "cursor-pointer", className)}
+ />
+ );
+};
diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx
new file mode 100644
index 0000000..11bcd12
--- /dev/null
+++ b/src/components/ui/input.tsx
@@ -0,0 +1,13 @@
+import { cn } from "@/utils/cn";
+
+export const Input = ({
+ className,
+ ...props
+}: React.ComponentPropsWithRef<"input">) => {
+ return (
+ <input
+ {...props}
+ className={cn("rounded-sm border px-2 py-1", className)}
+ />
+ );
+};