mirror of
https://github.com/uetchy/namae.git
synced 2025-03-17 04:30:31 +09:00
feat: search button
This commit is contained in:
parent
4a41743943
commit
53e7d73427
@ -62,14 +62,13 @@ const Form: React.FC<{
|
||||
<Logo to="/" onClick={onLogoClick}>
|
||||
<LogoImage src="/logo.svg" />
|
||||
</Logo>
|
||||
<form onSubmit={onSubmitQuery}>
|
||||
<form onSubmit={onSubmitQuery} action="/s" role="search">
|
||||
<InputView
|
||||
onChange={onInputChange}
|
||||
onBlur={onSubmitQuery}
|
||||
value={inputValue}
|
||||
ref={inputRef}
|
||||
placeholder={t('placeholder')}
|
||||
aria-label="search form"
|
||||
aria-label="Search"
|
||||
/>
|
||||
</form>
|
||||
{queryGiven && !suggested ? (
|
||||
|
Loading…
x
Reference in New Issue
Block a user