+
);
}
const FormItem = ({
label,
type,
+ onClick,
+ value,
+ onChange,
}: {
label: string;
type: string;
onClick?: () => void;
+ value?: string;
+ onChange?: (e: React.ChangeEvent
) => void;
}) => (
{label}
- {type === 'search' ? : }
+ {type === 'search' ? (
+
+ ) : (
+
+ )}
);
diff --git a/src/widgets/form/ui/FormInput.tsx b/src/widgets/form/ui/FormInput.tsx
index b27391b..2ff9325 100644
--- a/src/widgets/form/ui/FormInput.tsx
+++ b/src/widgets/form/ui/FormInput.tsx
@@ -15,9 +15,11 @@ export default function FormInput({
if (isSearch) {
return (