Project

General

Profile

« Previous | Next » 

Revision 711cbdbe

Added by Liza Gilman over 5 years ago

Fixes #24011 - Add Patternfly bar chart support

View differences:

webpack/assets/javascripts/react_app/components/componentRegistry.js
import React from 'react';
import DonutChart from './common/charts/DonutChart';
import BarChart from './common/charts/BarChart';
import StatisticsChartsList from './statistics/StatisticsChartsList';
import PowerStatus from './hosts/powerStatus/';
import NotificationContainer from './notifications/';
......
import SearchBar from './SearchBar';
import Layout from './Layout';
import EmptyState from './common/EmptyState';
import ComponentWrapper from './common/ComponentWrapper/ComponentWrapper';
import ChartBox from './statistics/ChartBox';
import ConfigReports from './ConfigReports/ConfigReports';
const componentRegistry = {
registry: {},
......
{ name: 'AuditsList', type: AuditsList },
{ name: 'Layout', type: Layout },
{ name: 'EmptyState', type: EmptyState },
{ name: 'BarChart', type: BarChart },
{ name: 'ChartBox', type: ChartBox },
{ name: 'ComponentWrapper', type: ComponentWrapper },
{ name: 'ConfigReports', type: ConfigReports },
];
componentRegistry.registerMultiple(coreComponets);

Also available in: Unified diff