@flows/js-components
Version:
Built-in components for Flows JS SDK
40 lines (35 loc) • 1.06 kB
text/typescript
import { d as TourComponentProps, a as Component } from './components-NBzbhe6Q.mjs';
import { P as Placement } from './tooltip-S3Jb9fey.mjs';
type HintProps = TourComponentProps<{
title: string;
body: string;
continueText?: string;
previousText?: string;
showCloseButton: boolean;
targetElement: string;
placement?: Placement;
offsetX?: number;
offsetY?: number;
}>;
declare const Hint: Component<HintProps>;
type ModalProps = TourComponentProps<{
title: string;
body: string;
continueText?: string;
previousText?: string;
showCloseButton: boolean;
hideOverlay: boolean;
}>;
declare const Modal: Component<ModalProps>;
type TooltipProps = TourComponentProps<{
title: string;
body: string;
continueText?: string;
previousText?: string;
showCloseButton: boolean;
targetElement: string;
placement?: Placement;
hideOverlay?: boolean;
}>;
declare const Tooltip: Component<TooltipProps>;
export { Hint, type HintProps, Modal, type ModalProps, Tooltip, type TooltipProps };