All files / components/register story.js

0% Statements 0/11
0% Branches 0/4
0% Functions 0/3
0% Lines 0/7
1 2 3 4 5 6 7 8 9 10 11 12 13                         
import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions'; //eslint-disable-line
import Register from './';
 
const onChange = () => {
  action('register on change');
};
 
storiesOf('Register').add('User registration', () =>
  <Register handleChange={onChange} />
);