interface CategoryChipsProps

Passed to CategoryChips by DumpCard and Dump for a dump, and by PlaylistCard and PlaylistHeader for a playlist.

Properties

Whether ids name dump or playlist categories.

optional
ids: string[]

The dump's or playlist's categoryIds.

optional
className: string

Added to the row's own class, for a card's grid to place it.

optional
onClick: (e: React.MouseEvent) => void

Called on a click in the row. A clickable card stops it there, or a chip's click would open the card too.

Usage

import { type CategoryChipsProps } from "src/components/category/CategoryChips.tsx";