Renders a list of playlists as cards.
f
PlaylistCardList(unnamed 0: PlaylistCardListProps): React.JSX.Element
Renders playlists as a .dump-feed of PlaylistCard, one to a
row, or as a .playlist-grid of them, a card being its owner's when the
playlist is the signed-in user's.
I
PlaylistCardListProps
Passed to PlaylistCardList by every list of playlist cards.
-
grid: boolean
Lays the cards out as tiles, cover first, several to a row, for a page that is a list of playlists and nothing else: the playlists page.
-
onDelete: (playlist: Playlist) => void
Given, each card shows a delete button, which calls it.
- playlists: Playlist[]
-
privateBadgeOnly: boolean
Passed to each PlaylistCard.
Usage
import * as mod from "src/components/playlist/PlaylistCardList.tsx";