Export Format Selector
Component Detail
User Interface
low complexity
frontendmobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Lightweight bottom-sheet or dropdown widget that lets users choose the export format (PDF, CSV, XML) before triggering the export. Defaults to the organization-configured preferred format and remembers the last selection per session.
export-format-selector
Responsibilities
- Present available export formats based on organization configuration
- Surface the organization default format as pre-selected
- Emit selected format to parent export button component
- Persist last-used format selection within session
Interfaces
getAvailableFormats(): ExportFormat[]
getDefaultFormat(orgId: string): ExportFormat
onFormatSelected(format: ExportFormat): void