import * as React from 'react'
import { storiesOf } from '@storybook/react'
import centered from '@storybook/addon-centered/react'
import { SliderField } from './SliderField'
storiesOf('SliderField', module)
.addDecorator(centered)
.add('Slider Simple', () => )
.add('Range Simple', () => (
))
.add('With Label', () => (
))
.add('With Max and Min set', () => (
))
.add('Range with Max and Min set', () => (
))
.add('Default value', () => (
))
.add('Range default value', () => (
))
.add('With onMouseUp', () => (
alert(JSON.stringify(data))}
/>
))
.add('Range with onMouseUp', () => (
alert(JSON.stringify(data))}
range
/>
))
.add('With onChange', () => (
console.log(data)}
/>
))
.add('Range with onChange', () => (
console.log(data)}
range
/>
))