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