Props for SyncSettingsTab component.

interface SyncSettingsTabProps {
/** Current sync configuration. */
syncConfig: SyncConfig;
/** Whether custom threshold is enabled for auto-pause. */
isCustomThresholdEnabled: boolean;
/** Current search query. */
searchQuery: string;
/** Currently highlighted section ID. */
highlightedSectionId: string | null;
/** Callback when sync config changes. */
onSyncConfigChange: (config: SyncConfig, field: string) => void;
/** Callback to toggle custom threshold. */
onCustomThresholdToggle: (value: boolean) => void;
/** Callback to set entire sync config. */
setSyncConfig: (config: SyncConfig) => void;
/** Map of section IDs to their collapsed states. */
collapsedSections: Record<string, boolean>;
/** Callback to toggle a section's collapsed state. */
onToggleSection: (sectionId: string) => void;
}
interface SyncSettingsTabProps {
    syncConfig: SyncConfig;
    isCustomThresholdEnabled: boolean;
    searchQuery: string;
    highlightedSectionId: null | string;
    onSyncConfigChange: (config: SyncConfig, field: string) => void;
    onCustomThresholdToggle: (value: boolean) => void;
    setSyncConfig: (config: SyncConfig) => void;
    collapsedSections: Record<string, boolean>;
    onToggleSection: (sectionId: string) => void;
}

Properties

syncConfig: SyncConfig

Current sync configuration.

isCustomThresholdEnabled: boolean

Whether custom threshold is enabled for auto-pause.

searchQuery: string

Current search query.

highlightedSectionId: null | string

Currently highlighted section ID.

onSyncConfigChange: (config: SyncConfig, field: string) => void

Callback when sync config changes.

onCustomThresholdToggle: (value: boolean) => void

Callback to toggle custom threshold.

setSyncConfig: (config: SyncConfig) => void

Callback to set entire sync config.

collapsedSections: Record<string, boolean>

Map of section IDs to their collapsed states.

onToggleSection: (sectionId: string) => void

Callback to toggle a section's collapsed state.