123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- import { IBaseProps } from '../_util/base';
- interface IStep {
- /**
- * @description 图片地址
- */
- imageUrl: string;
- /**
- * @description 图片模式
- */
- imageMode: string;
- /**
- * @description 图片内联样式
- */
- imageStyle: string;
- /**
- * @description 距离顶部
- */
- top: string;
- /**
- * @description 距离左边
- */
- left: string;
- }
- export interface IGuideTour extends IBaseProps {
- /**
- * @description 蒙层样式
- */
- maskStyle: string;
- /**
- * @description 步骤详情
- */
- items: IStep[];
- /**
- * @description 当前步骤
- */
- current: number;
- /**
- * @description 初始step
- */
- defaultCurrent: number;
- /**
- * @description 是否开启滑动模式
- */
- swiperable: boolean;
- /**
- * @description 引导是否可见, 受控
- * @default true
- */
- visible: boolean;
- /**
- * @description 关闭回调
- */
- onCancel: () => void;
- /**
- * @description 步骤改变回调
- */
- onChange: (index: number) => boolean;
- }
- export declare const GuideTourDefaultProps: Partial<IGuideTour>;
- export {};
|