core/components/Search.tsx
2021-01-08 22:17:59 +09:00

17 lines
226 B
TypeScript

import { useState } from 'react'
const Search = ({ query, result }: SearchProps): JSX.Element => {
return (
<div>
<input />
</div>
)
}
interface SearchProps {
query: string
result: string
}
export default Search