
import { Switch } from "@/components/ui/switch";
import { Label } from "@/components/ui/label";

interface CleanModeToggleProps {
  cleanMode: boolean;
  onToggle: (enabled: boolean) => void;
}

export const CleanModeToggle = ({ cleanMode, onToggle }: CleanModeToggleProps) => {
  return (
    <div className="flex items-center space-x-2">
      <Switch 
        id="clean-mode" 
        checked={cleanMode} 
        onCheckedChange={onToggle}
      />
      <Label htmlFor="clean-mode" className="text-sm text-slate-300">
        Clean mode
      </Label>
    </div>
  );
};
