import React from 'react';
import { storiesOf } from '@storybook/react-native';
import { withKnobs } from '@storybook/addon-knobs';
import Wrapper from './../../Wrapper';
import Usage from './usage';
import Size from './Size';
import Color from './color';
import Value from './Value';
import FormControlled from './FormControlled';
import Customized from './Customized';
import Playground from './Playground';

storiesOf('Slider', module)
  .addDecorator(withKnobs)
  .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>)
  .add('Playground', () => <Playground />)
  .add('Usage', () => <Usage />)
  .add('Size', () => <Size />)
  .add('Color', () => <Color />)
  .add('Value', () => <Value />)
  .add('Customized', () => <Customized />)
  .add('Form Controlled', () => <FormControlled />);
