interface CategorySelectProps

Passed to CategorySelect by DumpCreateModal and DumpEdit, and by PlaylistCreateForm and PlaylistEditForm, which hold the selection and send it as the dump's or playlist's categoryIds.

Properties

The set it offers: dump categories for a dump, playlist ones for a playlist.

selected: Set<string>
onToggle: (id: string) => void
optional
disabled: boolean

Usage

import { type CategorySelectProps } from "src/components/category/CategorySelect.tsx";