File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
client/packages/lowcoder/src/comps Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ let TourBasicComp = (function() {
5252 arrow : step . arrow || true ,
5353 placement : step . placement as PlacementType ,
5454 mask : step . mask ,
55+ cover : step . cover ? ( < img src = { step . cover } /> ) : undefined ,
5556 type : step . type || "default" ,
5657 } ;
5758 } ) ;
Original file line number Diff line number Diff line change @@ -409,6 +409,7 @@ let TourStep = new MultiCompBuilder(
409409 placement : dropdownControl ( PlacementOptions , "bottom" ) ,
410410 hidden : BoolCodeControl ,
411411 mask : MaskControl ,
412+ cover : StringControl ,
412413 type : dropdownControl ( TypeOptions , "default" ) ,
413414 } ,
414415 ( props ) => props
@@ -438,6 +439,9 @@ TourStep = class extends TourStep implements TourStepCompProperty {
438439 label : "Arrow" ,
439440 } ) }
440441 { hiddenPropertyView ( this . children ) }
442+ { this . children . cover . propertyView ( {
443+ label : "Cover Image Url"
444+ } ) }
441445 { this . children . mask . propertyView ( {
442446 label : "Mask" ,
443447 tooltip : TourStepMaskTooltip ,
You can’t perform that action at this time.
0 commit comments