Genesis
@stable

ResponsesToolbar

The Responses tab's toolbar: a Summary / Each response switch, the host's filters (forms-studio's ResponsesFilters, or its own) and, on the right, its export actions (open a Sheet, Download CSV). `labels` renames the switch, e.g. "Each submission".

packages/ui/src/components/resource/ResponsesToolbar.tsx

Import
Subpath export: @marktiderman/genesis-ui
import { ResponsesToolbar } from "@marktiderman/genesis-ui";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

ResponsesToolbar

The Responses tab's toolbar: a Summary / Each response switch, the host's filters (forms-studio's ResponsesFilters, or its own) and, on the right, its export actions (open a Sheet, Download CSV). `labels` renames the switch, e.g. "Each submission".

PropTypeDefaultDescription
onViewChange*(view: ResponsesView) => void—
view*enum—
actionsReactNode—
classNamestring—
filtersReactNode—
labels{ summary?: string; each?: string; group?: string | undefined; } | undefined{}The switch's words. Defaults "Summary", "Each response" and "Show responses as".