Back to Components
Desktop (Electron)
PDFGenerationPanel
Function Component
Generation Panel
Lines
359
File
PDFGenerationPanel.tsx
Last Modified
2026-10-08
Exports
PDFGenerationOptionsPDFGenerationProgressPDFGenerationResultPDFGenerationPaneltriggerPDFGeneration
Source Path
aartiq-browser/src/PDFGenerationPanel.tsx
Tags
ReactAIPDFmacOS
Code Analysis
React Hooks
useStateuseEffectuseCallback
API / Library Usage
electronAPIframer-motionlucide-icons
External Dependencies
reactframer-motion
Internal Imports
No internal imports
Props / Types
PDFGenerationOptions
| Prop | Type | Required |
|---|---|---|
| title | string | Yes |
| subtitle | string | No |
| author | string | No |
| content | string | Yes |
| screenshot | boolean | No |
| attachments | boolean | No |
| liveData | boolean | No |
| slides | boolean | No |
PDFGenerationProgress
| Prop | Type | Required |
|---|---|---|
| stage | 'idle' | 'parsing' | 'preparing' | 'rendering' | 'generating' | 'saving' | 'complete' | 'error' | Yes |
| progress | number | Yes |
| message | string | Yes |
| details | string | No |
| filePath | string | No |
PDFGenerationResult
| Prop | Type | Required |
|---|---|---|
| success | boolean | Yes |
| fileName | string | No |
| filePath | string | No |
| error | string | No |
PDFGenerationPanelProps
| Prop | Type | Required |
|---|---|---|
| isOpen | boolean | Yes |
| options | PDFGenerationOptions | null | Yes |
| onClose | () => void | Yes |
| onComplete | (result: PDFGenerationResult) => void | Yes |
Key Functions
updateProgress()
Related Components
Browse all components in the Component Inventory
Auto-Generated Documentation
Component metadata is auto-generated by aartiq-browser/scripts/component-scanner.js