From e26d821f738525477472e631d170d9ed218c1603 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 25 Feb 2022 19:17:09 +0100 Subject: chore: combine input/textarea/select in a single component --- src/components/SearchForm/SearchForm.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/components/SearchForm/SearchForm.tsx') diff --git a/src/components/SearchForm/SearchForm.tsx b/src/components/SearchForm/SearchForm.tsx index fa3ad07..fe809a3 100644 --- a/src/components/SearchForm/SearchForm.tsx +++ b/src/components/SearchForm/SearchForm.tsx @@ -1,5 +1,5 @@ import { ButtonSubmit } from '@components/Buttons'; -import { Form, Input } from '@components/Form'; +import { Field, Form } from '@components/FormElements'; import { SearchIcon } from '@components/Icons'; import { useRouter } from 'next/router'; import { FormEvent, useEffect, useRef, useState } from 'react'; @@ -34,20 +34,21 @@ const SearchForm = ({ isOpened }: { isOpened: boolean }) => { description: 'SearchForm : form title', })} -