import { observable } from 'mobx'; import { observer } from 'mobx-react'; import React from 'react'; import { Button } from '@meetfranz/forms'; import { storiesOf } from '../stores/stories'; const defaultProps = { label: 'Button', id: 'test1', name: 'test1', type: 'button', disabled: false, }; const createStore = (args?: any) => { return observable(Object.assign({}, defaultProps, args)); }; const WithStoreButton = observer(({ store }: { store: any }) => ( <>