import * as React from 'react' import { storiesOf } from '@storybook/react' import centered from '@storybook/addon-centered/react' import Form from 'semantic-ui-react/dist/commonjs/collections/Form' import { Field } from './Field' const address = '0x68FFc53C43C65C8Dd778969320e21B85b10363cE' storiesOf('Field', module) .addDecorator(centered) .add('Placeholder', () => ) .add('Value', () => ) .add('Message', () => ( )) .add('Error', () => ( )) .add('Loading', () => ) .add('Address', () => ) .add('Numeric', () => ( )) .add('Disabled', () => ( )) .add('Action', () => ( alert('Action triggered!')} /> )) .add('Inside a Form', () => (
alert('Action triggered!')} /> ))