feat: search ui

This commit is contained in:
원더 2021-01-23 11:46:41 +09:00
parent 64c0fdbaee
commit 830b9d067f

View File

@ -1,10 +1,9 @@
// import { useState } from 'react' // import { useState } from 'react'
const Search = ({ query, result }: SearchProps): JSX.Element => { const Search = (): JSX.Element => {
return ( return (
<div> <div className='relative w-full mt-5 flex'>
{query} { result } <input type='search' className='outline-none shadow rounded-lg border-0 p-3 w-full h-16 text-xl dark:bg-very-black pr-20' placeholder='검색...' />
<input />
</div> </div>
) )
} }