@@ -15,11 +15,11 @@ const progressBreakpointAnimation = 99;
1515
1616export interface SilkActivityControlProps extends TestableComponent {
1717 // The label of this activity
18- label : string | JSX . Element ;
18+ label : string | React . JSX . Element ;
1919 /**
2020 * To add tags in addition to the widget status description
2121 */
22- tags ?: JSX . Element ;
22+ tags ?: React . JSX . Element ;
2323 // Initial state
2424 initialStatus ?: SilkActivityStatusProps ;
2525 // Register a function in order to receive callbacks
@@ -80,7 +80,7 @@ export interface SilkActivityControlLayoutProps {
8080 // what type of progrss display should be uses, horizontal progress bar, circular spinner, or none of that
8181 visualization ?: "none" | "progressbar" | "spinner" ;
8282 // wrapper around label
83- labelWrapper ?: JSX . Element ;
83+ labelWrapper ?: React . JSX . Element ;
8484}
8585
8686const defaultLayout : SilkActivityControlLayoutProps = {
@@ -94,7 +94,7 @@ interface IErrorReportAction {
9494 // The title of the error report modal
9595 title ?: string ;
9696 // The element that will be rendered in the modal, either as Markdown or object
97- renderReport : ( report : string | SilkActivityExecutionReportProps ) => JSX . Element ;
97+ renderReport : ( report : string | SilkActivityExecutionReportProps ) => React . JSX . Element ;
9898 // What version of the report should be handed to the renderReport function, if false SilkActivityExecutionReportProps, if true the Markdown string
9999 renderMarkdown : boolean ;
100100 // The function to fetch the error report. It returns undefined if something went wrong.
0 commit comments