Revision 94c522d8
Added by Adi Abramovitch about 3 years ago
webpack/assets/javascripts/react_app/components/componentRegistry.js | ||
---|---|---|
import MemoryAllocationInput from './MemoryAllocationInput';
|
||
import CPUCoresInput from './CPUCoresInput';
|
||
import LabelIcon from './common/LabelIcon';
|
||
import { WelcomeEnv } from './Enviroments/Welcome';
|
||
import { WelcomeAuthSource } from './AuthSource/Welcome';
|
||
import { WelcomeConfigReports } from './ConfigReports/Welcome';
|
||
import { WelcomeArchitecture } from './Architectures/Welcome';
|
||
|
||
const componentRegistry = {
|
||
registry: forceSingleton('component_registry', () => ({})),
|
||
... | ... | |
// Report templates
|
||
{ name: 'TemplateGenerator', type: TemplateGenerator },
|
||
{ name: 'LoginPage', type: LoginPage },
|
||
{ name: 'WelcomeEnv', type: WelcomeEnv },
|
||
{ name: 'WelcomeAuthSource', type: WelcomeAuthSource },
|
||
{ name: 'WelcomeConfigReports', type: WelcomeConfigReports },
|
||
{ name: 'WelcomeArchitecture', type: WelcomeArchitecture },
|
||
];
|
||
|
||
componentRegistry.registerMultiple(coreComponets);
|
Also available in: Unified diff
Fixes #32070 - Updating welcome pages to use react component