import type { FunctionComponent } from 'react';
import Single from './SingleSlider';
import type { SingleSliderProps } from './SingleSlider';
import Range from './RangeSlider';

interface SliderProps extends FunctionComponent<SingleSliderProps> {
  Range: typeof Range;
}

const Slider = Single as SliderProps;

Slider.Range = Range;

export default Slider;
