- Reuse the search prompt in the page and loading state - Show result skeletons only when a query is present
10 lines
275 B
TypeScript
10 lines
275 B
TypeScript
export function SearchPrompt() {
|
|
return (
|
|
<div className="flex flex-1 items-center justify-center px-6 pb-28">
|
|
<p className="text-center text-muted-foreground">
|
|
Search for songs, albums, artists, and playlists in your library.
|
|
</p>
|
|
</div>
|
|
)
|
|
}
|