interface PlaylistCreateFormProps

Passed to PlaylistCreateForm by NewPlaylistButton and PlaylistMembershipPanel.

Properties

optional
dumpId: string

Added to the new playlist, which the submit button says.

onCreated: (
playlist: Playlist,
hasDump: boolean
) => void

hasDump tells whether dumpId made it into the new playlist.

onCancel: () => void
optional
className: string

Usage

import { type PlaylistCreateFormProps } from "src/components/playlist/PlaylistCreateForm.tsx";