Props for SyncPrivacySection component.

interface SyncPrivacySectionProps {
/** Current sync configuration. */
syncConfig: SyncConfig;
/** 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 set entire sync config. */
setSyncConfig: (config: SyncConfig) => void;
}
interface SyncPrivacySectionProps {
    syncConfig: SyncConfig;
    searchQuery: string;
    highlightedSectionId: null | string;
    onSyncConfigChange: (config: SyncConfig, field: string) => void;
    setSyncConfig: (config: SyncConfig) => void;
}

Properties

syncConfig: SyncConfig

Current sync configuration.

searchQuery: string

Current search query.

highlightedSectionId: null | string

Currently highlighted section ID.

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

Callback when sync config changes.

setSyncConfig: (config: SyncConfig) => void

Callback to set entire sync config.