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