"use client"; import { cn } from "@/shared/utils/cn"; import type { UtilizationTimeRange } from "@/shared/types/utilization"; interface TimeRangeSelectorProps { value: UtilizationTimeRange; onChange: (range: UtilizationTimeRange) => void; } const OPTIONS: Array<{ value: UtilizationTimeRange; label: string }> = [ { value: "1h", label: "1h" }, { value: "24h", label: "24h" }, { value: "7d", label: "7d" }, { value: "30d", label: "30d" }, ]; export default function TimeRangeSelector({ value, onChange }: TimeRangeSelectorProps) { return (