portainer/app/azure/react/views/index.ts

15 lines
682 B
TypeScript
Raw Normal View History

import angular from 'angular';
import { r2a } from '@/react-tools/react2angular';
import { CreateView } from '@/react/azure/container-instances/CreateView';
import { ItemView } from '@/react/azure/container-instances/ItemView';
import { ListView } from '@/react/azure/container-instances/ListView';
import { DashboardView } from '@/react/azure/DashboardView';
export const viewsModule = angular
.module('portainer.azure.react.views', [])
.component('containerInstanceView', r2a(ItemView, []))
.component('createContainerInstanceView', r2a(CreateView, []))
.component('containerInstancesView', r2a(ListView, []))
.component('dashboardView', r2a(DashboardView, [])).name;