@rc-component/tour
Version:
React tour Component
23 lines (22 loc) • 713 B
TypeScript
import React from 'react';
import type { PosInfo } from './hooks/useTarget';
import type { SemanticName, TourProps } from './interface';
export interface MaskProps {
prefixCls?: string;
pos: PosInfo;
rootClassName?: string;
showMask?: boolean;
style?: React.CSSProperties;
fill?: string;
open?: boolean;
animated?: boolean | {
placeholder: boolean;
};
zIndex?: number;
disabledInteraction?: boolean;
classNames?: Partial<Record<SemanticName, string>>;
styles?: Partial<Record<SemanticName, React.CSSProperties>>;
getPopupContainer?: TourProps['getPopupContainer'];
}
declare const Mask: (props: MaskProps) => React.JSX.Element;
export default Mask;