property PlaylistCardProps.onDelete

Shows a delete button, which calls it. The owner's playlists pages pass one that asks for confirmation first.

Type

() => void

Usage

import { type PlaylistCardProps } from "src/components/playlist/PlaylistCard.tsx";