/** * Component: Setup Wizard Review Step * Documentation: documentation/setup-wizard.md */ 'use client'; import { Button } from '@/components/ui/Button'; interface ReviewStepProps { config: { backendMode: 'plex' | 'audiobookshelf'; // Plex config plexUrl: string; plexLibraryId: string; // Audiobookshelf config absUrl: string; absLibraryId: string; // Auth config (ABS mode) authMethod: 'oidc' | 'manual' | 'both'; oidcProviderName: string; adminUsername: string; // Common config prowlarrUrl: string; downloadClients: any[]; // Array of download client configs downloadDir: string; mediaDir: string; // BookDate bookdateConfigured: boolean; bookdateProvider: string; bookdateModel: string; }; loading: boolean; error: string | null; onComplete: () => void; onBack: () => void; } export function ReviewStep({ config, loading, error, onComplete, onBack }: ReviewStepProps) { return (
Please review your configuration before completing setup.
{error}
Ready to complete setup
Click "Complete Setup" to save your configuration and start using ReadMeABook.