mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 15:29:42 +02:00
26 lines
750 B
TypeScript
26 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
|
|
);
|