import * as React from "react" import { cn } from "@/lib/utils" interface SliderProps extends React.InputHTMLAttributes { label?: string showValue?: boolean } const Slider = React.forwardRef( ({ className, label, showValue, ...props }, ref) => { return (
{(label || showValue) && (
{label && {label}} {showValue && {props.value}}
)}
) } ) Slider.displayName = "Slider" export { Slider }