From 16cfae8bad75caf2af17822b7bdb262c97aea0f5 Mon Sep 17 00:00:00 2001 From: alikia2x Date: Sun, 25 May 2025 03:15:51 +0800 Subject: [PATCH] fix: unexpectedly set prop variant of TextField to required --- packages/next/components/ui/TextField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/components/ui/TextField.tsx b/packages/next/components/ui/TextField.tsx index 743945c..a40795b 100644 --- a/packages/next/components/ui/TextField.tsx +++ b/packages/next/components/ui/TextField.tsx @@ -9,7 +9,7 @@ interface InputProps extends React.HTMLAttributes { onInputTextChange?: (value: string) => void; maxChar?: number; supportingText?: string; - variant: "filled" | "outlined" | "standard"; + variant?: "filled" | "outlined" | "standard"; } const OutlineTextField: React.FC = ({