{"size": 1020, "ext": "js", "max_stars_repo_path": "app/assets/javascripts/components/BoxAndWhisker.story.js", "max_stars_repo_name": "ciscomeneses/studentinsights", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/assets/javascripts/components/BoxAndWhisker.story.js", "max_issues_repo_name": "ciscomeneses/studentinsights", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/assets/javascripts/components/BoxAndWhisker.story.js", "max_forks_repo_name": "ciscomeneses/studentinsights", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 53.6842105263, "max_line_length": 111, "alphanum_fraction": 0.6147058824}
import React from 'react';
import _ from 'lodash';
import {storiesOf} from '@storybook/react';
import BoxAndWhisker from './BoxAndWhisker';


storiesOf('components/BoxAndWhisker', module) // eslint-disable-line no-undef
  .add('all', () => {
    return (
      <div style={{display: 'flex', flexDirection: 'column', margin: 20, background: '3px solid black'}}>
       <BoxAndWhisker style={{width: 300}} values={[3, 5, 35, 97, 32]} />
       <BoxAndWhisker style={{width: 300}} values={_.range(0, 10).map(i => Math.round(Math.random() * 100))} />
       <BoxAndWhisker style={{width: 300}} values={_.range(0, 10).map(i => Math.round(Math.random() * 100))} />
       <BoxAndWhisker style={{width: 300}} values={_.range(0, 10).map(i => Math.round(Math.random() * 100))} />
       <BoxAndWhisker style={{width: 300}} values={_.range(0, 10).map(i => Math.round(Math.random() * 100))} />
       <BoxAndWhisker style={{width: 300}} values={_.range(0, 10).map(i => Math.round(Math.random() * 100))} />
      </div>
    );
  });