@@ -21,6 +21,8 @@ import { controlItem, Option } from "lowcoder-design";
21
21
import styled from "styled-components" ;
22
22
import { getNextEntityName } from "util/stringUtils" ;
23
23
import { TargetCompAction } from "@lowcoder-ee/comps/comps/tourComp/componentSelectorControl" ;
24
+ // import { PlacementType } from "@rc-component"
25
+ export type PlacementType = 'left' | 'leftTop' | 'leftBottom' | 'right' | 'rightTop' | 'rightBottom' | 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'center' ;
24
26
25
27
const OptionTypes = [
26
28
{
@@ -233,8 +235,6 @@ const OptionTip = optionListDocUrl ? (
233
235
) ;
234
236
235
237
type TourStepChildType = {
236
- // target: InstanceType<typeof TargetCompAction>,
237
- // target: InstanceType<typeof FunctionControl>,
238
238
title : InstanceType < typeof StringControl > ,
239
239
} ;
240
240
type TourStepControlType = new ( params : CompParams < any > ) => MultiBaseComp <
@@ -292,7 +292,7 @@ export function tourStepsControl<T extends TourStepControlType>(
292
292
} ;
293
293
}
294
294
295
- const PlacementOptions = [
295
+ const PlacementOptions : { label : string , value : PlacementType } [ ] = [
296
296
{ label : "Center" , value : "center" } ,
297
297
{ label : "Left" , value : "left" } ,
298
298
{ label : "Left Top" , value : "leftTop" } ,
0 commit comments