import { Truck } from 'lucide-react'; import { SurfaceCard } from '../../../components/ui/surface'; import type { CustomerType, DateQuickPick } from '../types'; import { QUICK_PICK_OPTIONS, type RangeMode } from './model'; interface DailyRangeControlsProps { pick: RangeMode; dateRange: { start: string; end: string }; customer: CustomerType; onQuickPick: (pick: DateQuickPick) => void; onCustomPick: () => void; onDateRangeChange: (field: 'start' | 'end', value: string) => void; onCustomerChange: (customer: CustomerType) => void; } export default function DailyRangeControls({ pick, dateRange, customer, onQuickPick, onCustomPick, onDateRangeChange, onCustomerChange, }: DailyRangeControlsProps) { return (
{QUICK_PICK_OPTIONS.map(opt => ( ))}
{(['lingniu', 'external'] as const).map(option => ( ))}
); }