src/applications/simple-forms/21-0845/containers/App.jsx
import React from 'react';
import PropTypes from 'prop-types';
import RoutedSavableApp from 'platform/forms/save-in-progress/RoutedSavableApp';
import formConfig from '../config/form';
export default function App({ location, children }) {
return (
<RoutedSavableApp formConfig={formConfig} currentLocation={location}>
{children}
</RoutedSavableApp>
);
}
App.propTypes = {
children: PropTypes.element.isRequired,
location: PropTypes.object.isRequired,
};