From 58c7b21b22448069848d14b1cac78b7ff1adaa58 Mon Sep 17 00:00:00 2001 From: WuYongJie Date: Sat, 22 Nov 2025 17:57:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DInput=E7=BB=84?= =?UTF-8?q?=E4=BB=B6size=E5=B1=9E=E6=80=A7=E7=B1=BB=E5=9E=8B=E5=86=B2?= =?UTF-8?q?=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ui/Input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ui/Input.tsx b/components/ui/Input.tsx index 4e8d230..444fc0d 100644 --- a/components/ui/Input.tsx +++ b/components/ui/Input.tsx @@ -14,7 +14,7 @@ import { InputHTMLAttributes, forwardRef } from 'react' import { useThemeStyles, cn } from '@/lib/ui-styles' -interface InputProps extends InputHTMLAttributes { +interface InputProps extends Omit, 'size'> { error?: boolean size?: 'sm' | 'md' | 'lg' fullWidth?: boolean