import { Tooltip } from '@chakra-ui/react'; import * as Slider from '@radix-ui/react-slider'; import React from 'react'; import IAITooltip from './IAITooltip'; type IAISliderProps = Slider.SliderProps & { value: number[]; tooltipLabel?: string; orientation?: 'horizontal' | 'vertial'; trackProps?: Slider.SliderTrackProps; rangeProps?: Slider.SliderRangeProps; thumbProps?: Slider.SliderThumbProps; }; const _IAISlider = (props: IAISliderProps) => { const { value, tooltipLabel, orientation, trackProps, rangeProps, thumbProps, ...rest } = props; return (
{/*}> {value && value[0]} */} ); }; export default _IAISlider;