aboutsummaryrefslogtreecommitdiff
path: root/src/components/ui/input.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ui/input.tsx')
-rw-r--r--src/components/ui/input.tsx13
1 files changed, 13 insertions, 0 deletions
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)}
+ />
+ );
+};