jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/es/GuideTour/props.d.ts

62 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-11-10 07:01:22 +00:00
import { IBaseProps } from '../_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>;