Improve Search input
This commit is contained in:
parent
bae264ec6e
commit
60037e1d48
@ -19,13 +19,10 @@ export const Search = ({
|
||||
justify='center'
|
||||
margin={{ top: 'large' }}
|
||||
>
|
||||
<Box
|
||||
as='div'
|
||||
margin={{ vertical: 'none' }}
|
||||
width='500px'
|
||||
|
||||
>
|
||||
<Box as='div' margin={{ vertical: 'none' }} width='500px'>
|
||||
<TextInput
|
||||
type='search'
|
||||
name='q'
|
||||
value={inputValue}
|
||||
suggestions={suggestions}
|
||||
onChange={(e) => handleChange(e.target.value)}
|
||||
@ -33,6 +30,8 @@ export const Search = ({
|
||||
icon={<FormSearch color='plain' />}
|
||||
dropHeight='large'
|
||||
placeholder='Type an artist name'
|
||||
autoFocus
|
||||
aria-label='Search for an artist name'
|
||||
/>
|
||||
</Box>
|
||||
</Box>
|
||||
|
Loading…
Reference in New Issue
Block a user