Renders the button that opens the dump creation modal, on the user's own profile and dumps pages.

Functions

f
NewDumpButton(): React.JSX.Element

Renders a "+ New dump" button, as NewPlaylistButton does for playlists, that opens DumpCreateModal. The modal hands the new dump to WSContext itself, so the button takes no callback.

Usage

import * as mod from "src/components/dump/NewDumpButton.tsx";