add filters

This commit is contained in:
Виталий Лавшонок
2025-12-10 00:04:20 +03:00
parent 14d2f5cbf1
commit 02de330034
23 changed files with 639 additions and 212 deletions

View File

@@ -11,6 +11,7 @@ interface inputProps {
label?: string;
placeholder?: string;
className?: string;
inputClassName?: string;
onChange: (state: string) => void;
defaultState?: string;
autocomplete?: string;
@@ -25,6 +26,7 @@ export const Input: React.FC<inputProps> = ({
label = '',
placeholder = '',
className = '',
inputClassName = '',
onChange,
defaultState = '',
name = '',
@@ -52,6 +54,7 @@ export const Input: React.FC<inputProps> = ({
className={cn(
'bg-liquid-lighter w-full rounded-[10px] outline-none pl-[16px] py-[8px] placeholder:text-liquid-light',
type == 'password' ? 'h-[40px]' : 'h-[36px]',
inputClassName,
)}
value={value}
name={name}