This commit is contained in:
Виталий Лавшонок
2025-10-23 18:10:59 +03:00
parent e3ce191b44
commit d419e06d65
4 changed files with 124 additions and 77 deletions

View File

@@ -4,9 +4,9 @@ import { cn } from "../../lib/cn";
/* Варианты для скользящего шарика */
const inputVariants = {
size: {
sm: "h-[3rem] w-[27rem]",
md: "h-[3.5rem] w-[27rem]",
lg: "h-[4rem] w-[27rem]",
sm: "h-[3rem] w-full",
md: "h-[3.5rem] w-full",
lg: "h-[4rem] w-full",
},
colors: {
default: "text-default-600 bg-default-200 placeholder-default-600",
@@ -75,7 +75,7 @@ export const Input: React.FC<SwitchProps> = ({
label = "",
labelType = "in",
placeholder = "",
variant = "flat",
variant = "bordered",
className,
onChange,
defaultState = "",