import NumberPicker from '..';
import React from 'react';
import ReactDOM from 'react-dom';
function onChange(value) {
  console.log('changed', value);
}
function onCorrect(obj) {
  console.log(obj);
}
ReactDOM.render(
  <div>
    <NumberPicker
      defaultValue={-3.99}
      onChange={onChange}
      onCorrect={onCorrect}
      step={2}
      precision={2}
    />
  </div>,
  document.getElementById('number-picker-demo-5'),
);
