From 1ee369c3be05f95af0b52b6a20c4908f214c5e3b Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Wed, 29 Jan 2025 15:57:16 +0800 Subject: [PATCH] feat: add shadcn/originui input component --- src/components/ui/input.tsx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/components/ui/input.tsx diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx new file mode 100644 index 0000000..3055914 --- /dev/null +++ b/src/components/ui/input.tsx @@ -0,0 +1,25 @@ +import { cn } from "@/lib/utils"; +import * as React from "react"; + +const Input = React.forwardRef>( + ({ className, type, ...props }, ref) => { + return ( + + ); + } +); +Input.displayName = "Input"; + +export { Input };