Sha256: f8fe12b174455f9150d3f80dc501c9f84e6064faac9193a5c846b8c999021d7d
Contents?: true
Size: 788 Bytes
Versions: 13
Compression:
Stored size: 788 Bytes
Contents
import React from 'react'; import { BrowserRouter as Router } from 'react-router-dom'; import PropTypes from 'prop-types'; import Routes from './Routes'; const ForemanTemplates = ({ apiUrls, validationData, fileRepoStartWith, userPermissions, editPaths, }) => ( <Router> <Routes apiUrls={apiUrls} validationData={validationData} editPaths={editPaths} fileRepoStartWith={fileRepoStartWith} userPermissions={userPermissions} /> </Router> ); ForemanTemplates.propTypes = { apiUrls: PropTypes.object.isRequired, validationData: PropTypes.object.isRequired, editPaths: PropTypes.object.isRequired, userPermissions: PropTypes.object.isRequired, fileRepoStartWith: PropTypes.array.isRequired, }; export default ForemanTemplates;
Version data entries
13 entries across 13 versions & 1 rubygems