"use client"; import { type FC } from "react"; import { Label } from "@/components/ui/label"; import { Switch } from "@/components/ui/switch"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; interface PeriodicSyncConfigProps { enabled: boolean; frequencyMinutes: string; onEnabledChange: (enabled: boolean) => void; onFrequencyChange: (frequency: string) => void; } export const PeriodicSyncConfig: FC = ({ enabled, frequencyMinutes, onEnabledChange, onFrequencyChange, }) => { return (

Enable Periodic Sync

Automatically re-index at regular intervals

{enabled && (
)}
); };