import { type ReactElement } from 'react' import styles from './Empty.module.css' import type { Post } from '../Search' const SearchResultsEmpty = ({ query, results }: { query: string results: Post[] | undefined }): ReactElement => (

{query.length > 0 && results?.length === 0 ? 'No results found' : 'Awaiting your input fellow web wanderer'}

) export default SearchResultsEmpty