diff --git a/src/components/CustomSwitch/index.js b/src/components/CustomSwitch/index.js index 8c8511f..0bd7e03 100644 --- a/src/components/CustomSwitch/index.js +++ b/src/components/CustomSwitch/index.js @@ -18,10 +18,10 @@ const CustomSwitch = ({ setValue(!value); register.onChange({ target: { name: register.name, value: !value } }); }} - className={`${className} flex border border-blue-500 relative ${ + className={`${className} flex border relative w-full ${ values - ? "rounded h-full min-h-[50px]" - : " rounded-full h-9 aspect-[1/2]" + ? "rounded-md h-full min-h-[50px]" + : " rounded-md h-9 aspect-[1/2]" }`} > - {values ? ( -
+
{values[1]}
{values[0]} diff --git a/src/components/FormInput/index.js b/src/components/FormInput/index.js index 292996d..7d0975b 100644 --- a/src/components/FormInput/index.js +++ b/src/components/FormInput/index.js @@ -43,7 +43,7 @@ const FormInput = ({ items }) => {