'use client' import { SongCard, SongCardProps } from './SongCard' import { AlbumCard, AlbumCardProps } from './AlbumCard' import { ArtistCard, ArtistCardProps } from './ArtistCard' export interface SearchResultsProps { query: string songs?: SongCardProps[] albums?: AlbumCardProps[] artists?: ArtistCardProps[] isLoading?: boolean } export function SearchResults({ query, songs = [], albums = [], artists = [], isLoading = false }: SearchResultsProps) { const hasResults = songs.length > 0 || albums.length > 0 || artists.length > 0 if (isLoading) { return (
Searching...
We couldn't find anything for "{query}". Try different keywords or browse by genre.