import { observable } from 'mobx'; import { observer } from 'mobx-react'; import React from 'react'; import injectSheet from 'react-jss'; import { Button, Input } from '@meetfranz/forms'; import { classes } from 'istanbul-lib-coverage'; import { Classes } from 'jss'; import { storiesOf } from '../stores/stories'; const defaultProps = { label: 'Button', id: 'test1', name: 'test1', type: 'button', disabled: false, }; const styles = { combinedElements: { display: 'flex', justifyContent: 'space-between', }, input: { flex: 1, marginRight: 20, }, }; const createStore = (args?: any) => { return observable(Object.assign({}, defaultProps, args)); }; const WithStoreButton = observer(({ store }: { store: any }) => ( <>