import PropTypes from 'prop-types' import ObjectInfo from '../../common/ObjectInfo' import NewObjectForm from '../../common/NewObjectForm' import WizardView from '../../common/WizardView' const NewPartStock = ({ onOk, reset }) => { return ( {({ handleSubmit, submitLoading, objectData, formValid }) => { const steps = [ { title: 'Required', key: 'required', content: ( ) }, { title: 'Summary', key: 'summary', content: ( ) } ] return ( { handleSubmit() onOk() }} /> ) }} ) } NewPartStock.propTypes = { onOk: PropTypes.func.isRequired, reset: PropTypes.bool } export default NewPartStock