All files / src/components/AddPatient AddPatient.stories.js

0% Statements 0/8
100% Branches 0/0
0% Functions 0/2
0% Lines 0/8
1 2 3 4 5 6 7 8 9 10 11                     
import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { withKnobs, object } from '@storybook/addon-knobs/react';
import { AddPatient } from './AddPatient';
 
storiesOf('AddPatient', module)
    .addDecorator(withKnobs)
    .addDecorator(story => <div style={{ padding: '3rem' }}>{story()}</div>)
    .add('default', () => <AddPatient />);