"use client" import React from "react" import { cn } from "@/lib/utils" interface MinMaxInputProps { label: string name: string unit?: string minValue: string maxValue: string onMinChange: (value: string) => void onMaxChange: (value: string) => void step?: string className?: string } export function MinMaxInput({ label, name, unit, minValue, maxValue, onMinChange, onMaxChange, step = "1", className }: MinMaxInputProps) { return (
onMinChange(e.target.value)} placeholder="Min" className="w-full h-10 rounded-lg border border-slate-700 bg-slate-800/50 px-3 py-2 text-sm text-slate-100 placeholder:text-slate-500 focus:outline-none focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 transition-all duration-200" /> min
onMaxChange(e.target.value)} placeholder="Max" className="w-full h-10 rounded-lg border border-slate-700 bg-slate-800/50 px-3 py-2 text-sm text-slate-100 placeholder:text-slate-500 focus:outline-none focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500 transition-all duration-200" /> max
) }