@@ -28,7 +28,7 @@ export interface VisualTourStep {
2828 /** The texts used in the step, e.g. when custom layouts are rendered, these will be used for the text strings. */
2929 texts ?: Record < string , string > ;
3030 /** An image URL. This will be displayed in the step description. */
31- image ?: string
31+ image ?: string ;
3232}
3333
3434/** This should be used for defining steps in a separate object/file. Use with 'satisfies' after the object definition. */
@@ -120,12 +120,14 @@ interface StepModalProps {
120120}
121121
122122// Main content of a step
123- const StepContent = ( { step} : { step : VisualTourStep } ) => {
124- return < div >
125- { step . image ? < img src = { step . image } width = { 600 } /> : null }
126- { typeof step . content === "string" ? step . content : step . content ( ) }
127- </ div >
128- }
123+ const StepContent = ( { step } : { step : VisualTourStep } ) => {
124+ return (
125+ < div >
126+ { step . image ? < img src = { step . image } width = { 600 } /> : null }
127+ { typeof step . content === "string" ? step . content : step . content ( ) }
128+ </ div >
129+ ) ;
130+ } ;
129131
130132/** Modal that is displayed for a step. */
131133const StepModal = ( { step, titleSuffix, onClose, actionButtons } : StepModalProps ) => {
@@ -181,7 +183,9 @@ const StepPopover = ({ highlightedElement, step, titleSuffix, actionButtons }: S
181183 role = "tooltip"
182184 ref = { tooltipRef }
183185 >
184- < div id = "arrow" data-popper-arrow > </ div >
186+ < div id = "arrow" data-popper-arrow >
187+ < span className = { `${ eccgui } -visual-tour__tooltip__arrow-shape` } />
188+ </ div >
185189 < Card >
186190 < CardHeader >
187191 < CardTitle > { `${ step . title } ${ titleSuffix } ` } </ CardTitle >
0 commit comments