import * as React from 'react'; import * as SliderPrimitive from '@radix-ui/react-slider'; import { cn } from '~/utils'; type SliderProps = React.ComponentPropsWithoutRef & { className?: string; onDoubleClick?: () => void; 'aria-describedby'?: string; } & ( | { 'aria-label': string; 'aria-labelledby'?: never } | { 'aria-labelledby': string; 'aria-label'?: never } | { 'aria-label': string; 'aria-labelledby': string } ); const Slider = React.forwardRef, SliderProps>( ( { className, onDoubleClick, 'aria-labelledby': ariaLabelledBy, 'aria-label': ariaLabel, 'aria-describedby': ariaDescribedBy, ...props }, ref, ) => ( ), ); Slider.displayName = SliderPrimitive.Root.displayName; export { Slider };