From d0fca46918bf83a61063e294f3cbe8cc1b530629 Mon Sep 17 00:00:00 2001 From: p-sw Date: Tue, 28 May 2024 21:16:26 +0900 Subject: [PATCH] feat: add full style in input --- packages/react/components/Input.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/react/components/Input.tsx b/packages/react/components/Input.tsx index c1785eb..4a45aa6 100644 --- a/packages/react/components/Input.tsx +++ b/packages/react/components/Input.tsx @@ -29,9 +29,14 @@ const [inputVariant, resolveInputVariantProps] = vcn({ true: "bg-transparent border-none p-0 ring-0 hover:bg-transparent invalid:hover:bg-transparent invalid:focus-within:bg-transparent invalid:focus-within:ring-0", false: "", }, + full: { + true: "w-full", + false: "w-fit", + }, }, defaults: { unstyled: false, + full: false, }, });