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