interface PlaylistCardListProps

Passed to PlaylistCardList by every list of playlist cards.

Properties

optional
onDelete: (playlist: Playlist) => void

Given, each card shows a delete button, which calls it.

optional
privateBadgeOnly: boolean

Passed to each PlaylistCard.

optional
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.

Usage

import { type PlaylistCardListProps } from "src/components/playlist/PlaylistCardList.tsx";