import Slider from '../index'
import Tooltip from '../../vc-tooltip'
import '../assets/index.less'
import '../../vc-tooltip/assets/bootstrap.less'
const { createSliderWithTooltip, Handle } = Slider
const Range = createSliderWithTooltip(Slider.Range)
export default {
data () {
return {
}
},
render () {
const handle = (props) => {
const { value, dragging, index, ...restProps } = props
const handleProps = {
props: {
...restProps,
value,
},
key: index,
}
return (
Slider with custom handle
Range with custom handle