interface PlaylistHeaderProps

Passed to PlaylistHeader by PlaylistDetail.

Properties

optional
onEdit: () => void

Given to those who may edit it, with onSaved: it adds an "Edit" button, which opens PlaylistEditForm.

optional
onSaved: (playlist: Playlist) => void

Called with the playlist as the server has it once its title or description is edited in place, which it lets its editors do.

Usage

import { type PlaylistHeaderProps } from "src/components/playlist/PlaylistHeader.tsx";