import { SearchResult } from "./SearchResult"; import { SearchResultWithSnippet } from "../types"; type Props = { results: Array; }; export const SearchResultList = ({ results }: Props) => { return ( <> {results.map((result, i) => ( ))} ); };