11import React from "react" ;
22
3- import { ValidIconName } from "../../components/Icon/canonicalIconNames" ;
4- import { IconProps } from "../../components/Icon/Icon" ;
5- import { TestIconProps } from "../../components/Icon/TestIcon" ;
6- import { TestableComponent } from "../../components/interfaces" ;
7- import { ProgressBarProps } from "../../components/ProgressBar/ProgressBar" ;
8- import { SpinnerProps } from "../../components/Spinner/Spinner" ;
9- import { CLASSPREFIX as eccgui } from "../../configuration/constants" ;
103import {
114 Card ,
125 ContextMenu ,
@@ -24,22 +17,29 @@ import {
2417 ProgressBar ,
2518 Spinner ,
2619 Tooltip ,
27- } from "../../index" ;
20+ } from "../../components" ;
21+ import { ValidIconName } from "../../components/Icon/canonicalIconNames" ;
22+ import { IconProps } from "../../components/Icon/Icon" ;
23+ import { TestIconProps } from "../../components/Icon/TestIcon" ;
24+ import { TestableComponent } from "../../components/interfaces" ;
25+ import { ProgressBarProps } from "../../components/ProgressBar/ProgressBar" ;
26+ import { SpinnerProps } from "../../components/Spinner/Spinner" ;
27+ import { CLASSPREFIX as eccgui } from "../../configuration/constants" ;
2828
2929export interface ActivityControlWidgetProps extends TestableComponent {
3030 /**
3131 * The label to be shown
3232 */
33- label ?: string | JSX . Element ;
33+ label ?: string | React . JSX . Element ;
3434 /**
3535 * Element that wraps around the label.
3636 * Default: `<OverflowText inline={true} />`
3737 */
38- labelWrapper ?: JSX . Element ;
38+ labelWrapper ?: React . JSX . Element ;
3939 /**
4040 * To add tags in addition to the widget status description
4141 */
42- tags ?: JSX . Element ;
42+ tags ?: React . JSX . Element ;
4343 /**
4444 * The progress bar parameters if it should be show by a progres bar
4545 */
@@ -83,7 +83,7 @@ export interface ActivityControlWidgetProps extends TestableComponent {
8383 /**
8484 * execution timer messages for waiting and running times.
8585 */
86- timerExecutionMsg ?: JSX . Element | null ;
86+ timerExecutionMsg ?: React . JSX . Element | null ;
8787 /**
8888 * additional actions that can serve as a complex component, positioned between the default actions and the context menu
8989 */
@@ -159,7 +159,7 @@ export function ActivityControlWidget(props: ActivityControlWidgetProps) {
159159 keepColors
160160 >
161161 { progressSpinnerFinishedIcon ? (
162- React . cloneElement ( progressSpinnerFinishedIcon as JSX . Element , { small, large : ! small } )
162+ React . cloneElement ( progressSpinnerFinishedIcon as React . JSX . Element , { small, large : ! small } )
163163 ) : (
164164 < Spinner
165165 position = "inline"
0 commit comments