Sha256: d7e55f229e06cb8b86f4a3bc82aee9e625f63303abde0e83742f33da9ccac456

Contents?: true

Size: 607 Bytes

Versions: 9

Compression:

Stored size: 607 Bytes

Contents

import React from 'react';
import PropTypes from 'prop-types';
import { translate as __ } from 'foremanReact/common/I18n';
import PageLayout from 'foremanReact/routes/common/PageLayout/PageLayout';
import Statistics from './Statistics/Statistics';

const StatisticsPage = ({ statisticsMeta, ...props }) => (
  <PageLayout header={__('Statistics')} searchable={false}>
    <Statistics statisticsMeta={statisticsMeta} {...props} />
  </PageLayout>
);

StatisticsPage.propTypes = {
  statisticsMeta: PropTypes.array,
};

StatisticsPage.defaultProps = {
  statisticsMeta: [],
};

export default StatisticsPage;

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_statistics-2.1.0 webpack/src/Router/StatisticsPage/StatisticsPage.js
foreman_statistics-2.0.1 webpack/src/Router/StatisticsPage/StatisticsPage.js
foreman_statistics-2.0.0 webpack/src/Router/StatisticsPage/StatisticsPage.js
foreman_statistics-1.2.0 webpack/src/Router/StatisticsPage/StatisticsPage.js
foreman_statistics-1.1.1 webpack/src/Router/StatisticsPage/StatisticsPage.js
foreman_statistics-1.1.0 webpack/src/Router/StatisticsPage/StatisticsPage.js
foreman_statistics-1.0.0 webpack/src/Router/StatisticsPage/StatisticsPage.js
foreman_statistics-0.1.3 webpack/src/Router/StatisticsPage/StatisticsPage.js
foreman_statistics-0.1.2 webpack/src/Router/StatisticsPage/StatisticsPage.js