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

89 lines
1.7 KiB
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
import { IBaseProps } from '../_util/base';
interface IStep {
/**
* @description
*/
imageUrl: string;
/**
* @description
*/
imageMode: string;
/**
* @description
*/
imageStyle: string;
/**
* @description
*/
top: string;
/**
* @description
*/
left: string;
/**
* @description className
*/
className?: string;
}
export interface IGuideTour extends IBaseProps {
/**
* @description
*/
maskStyle: string;
/**
* @description className
*/
maskClassName?: 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;
/**
* @description
* @default "上一步"
*/
prevStepText?: string;
/**
* @description
* @default "下一步"
*/
nextStepText?: string;
/**
* @description
* @default "知道了"
*/
gotItText?: string;
/**
* @description
* @default "跳过"
*/
jumpText?: string;
}
export declare const GuideTourDefaultProps: Partial<IGuideTour>;
export {};