From 92052a31c1f413bc6fd013138635f27d3c057ce5 Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Mon, 18 May 2026 21:16:09 +0200 Subject: [PATCH] feat(ui): Input --- src/components/ui/Input.tsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/components/ui/Input.tsx b/src/components/ui/Input.tsx index aa850041..b7afab4a 100644 --- a/src/components/ui/Input.tsx +++ b/src/components/ui/Input.tsx @@ -1,3 +1,16 @@ -export default function Input() { - return
Input placeholder
-} +import { forwardRef, type InputHTMLAttributes } from 'react' + +const Input = forwardRef>( + ({ className = '', ...rest }, ref) => ( + + ), +) +Input.displayName = 'Input' +export default Input