import * as React from 'react'; import { storiesOf } from '@storybook/react'; import { DONATION } from 'utils/constants'; import 'components/AddressInput.less'; import AddressInput, { Props as AddressInputProps } from 'components/AddressInput'; const cases: ExampleProps[] = [ { disp: 'Default Input', props: {}, defaultValue: '', }, { disp: 'Input w/ Identicon', props: { showIdenticon: true, }, }, { disp: 'Input w/ Identicon (large)', props: { showIdenticon: true, inputProps: { size: 'large', }, }, }, { disp: 'Input w/ Identicon (small)', props: { showIdenticon: true, inputProps: { size: 'small', }, }, }, { disp: 'Invalid Input', props: {}, defaultValue: '0x0what', }, ]; storiesOf('AddressInput', module).add('all', () => (