function PlaylistEditForm
PlaylistEditForm(unnamed 0: PlaylistEditFormProps): React.JSX.Element

Renders the form that edits the playlist, in place of the page's header. It saves the details with PUT /api/playlists/:playlistId, sending only the title, slug, description and categories that changed, then a new cover, if one was picked, with PUT /api/playlists/:playlistId/cover.

Parameters

Return Type

React.JSX.Element

Usage

import { PlaylistEditForm } from "src/components/playlist/PlaylistEditForm.tsx";