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

Version Path
foreman_templates-10.0.2 webpack/ForemanTemplates.js
foreman_templates-10.0.1 webpack/ForemanTemplates.js
foreman_templates-10.0.0 webpack/ForemanTemplates.js
foreman_templates-9.5.1 webpack/ForemanTemplates.js
foreman_templates-9.5.0 webpack/ForemanTemplates.js
foreman_templates-9.3.3 webpack/ForemanTemplates.js
foreman_templates-9.3.2 webpack/ForemanTemplates.js
foreman_templates-9.3.1 webpack/ForemanTemplates.js
foreman_templates-9.4.0 webpack/ForemanTemplates.js
foreman_templates-9.3.0 webpack/ForemanTemplates.js
foreman_templates-9.2.0 webpack/ForemanTemplates.js
foreman_templates-9.1.0 webpack/ForemanTemplates.js
foreman_templates-9.0.2 webpack/ForemanTemplates.js