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-uiimport { 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".
| Prop | Type | Default | Description |
|---|---|---|---|
| onViewChange* | (view: ResponsesView) => void | — | |
| view* | enum | — | |
| actions | ReactNode | — | |
| className | string | — | |
| filters | ReactNode | — | |
| labels | { summary?: string; each?: string; group?: string | undefined; } | undefined | {} | The switch's words. Defaults "Summary", "Each response" and "Show responses as". |