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, CommandsTabValues>( ngModule, withUIRouter(withReactQuery(CommandsTab)), 'dockerCreateContainerCommandsTab', ['apiVersion'], commandsTabValidation );