mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
27 lines
750 B
TypeScript
27 lines
750 B
TypeScript
|
import angular from 'angular';
|
||
|
import { ComponentProps } from 'react';
|
||
|
|
||
|
import { withUIRouter } from '@/react-tools/withUIRouter';
|
||
|
import { withReactQuery } from '@/react-tools/withReactQuery';
|
||
|
import { withFormValidation } from '@/react-tools/withFormValidation';
|
||
|
import {
|
||
|
CommandsTab,
|
||
|
CommandsTabValues,
|
||
|
commandsTabValidation,
|
||
|
} from '@/react/docker/containers/CreateView/CommandsTab';
|
||
|
|
||
|
const ngModule = angular.module(
|
||
|
'portainer.docker.react.components.containers',
|
||
|
[]
|
||
|
);
|
||
|
|
||
|
export const containersModule = ngModule.name;
|
||
|
|
||
|
withFormValidation<ComponentProps<typeof CommandsTab>, CommandsTabValues>(
|
||
|
ngModule,
|
||
|
withUIRouter(withReactQuery(CommandsTab)),
|
||
|
'dockerCreateContainerCommandsTab',
|
||
|
['apiVersion'],
|
||
|
commandsTabValidation
|
||
|
);
|