{"size": 469, "ext": "js", "max_stars_repo_path": "src/components/Inputs/Inputs.stories.js", "max_stars_repo_name": "bialesdaniel/web-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/Inputs/Inputs.stories.js", "max_issues_repo_name": "bialesdaniel/web-app", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/Inputs/Inputs.stories.js", "max_forks_repo_name": "bialesdaniel/web-app", "max_forks_repo_forks_event_min_datetime": "2018-05-15T05:43:39.000Z", "max_forks_repo_forks_event_max_datetime": "2018-05-15T05:43:39.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 31.2666666667, "max_line_length": 61, "alphanum_fraction": 0.7164179104}
import React from 'react'
import { storiesOf } from '@storybook/react'
import { action } from '@storybook/addon-actions'
import casual from 'casual-browserify'
import CurrencyInputField from './CurrencyInputField'

storiesOf('Inputs', module).add('CurrencyInputField', () => (
  <CurrencyInputField
    value={parseFloat(casual.double(0, 1000).toFixed(2))}
    onChange={action('change')}
    onIncrease={action('increase')}
    onDecrease={action('decrease')}
  />
))
