@flows/react-components
Version:
Built-in components for Flows React SDK
40 lines (35 loc) • 1.01 kB
TypeScript
import { T as TourComponentProps, P as Placement } from './tooltip-BH43qtSr.js';
import { FC } from 'react';
type HintProps = TourComponentProps<{
title: string;
body: string;
continueText?: string;
previousText?: string;
showCloseButton: boolean;
targetElement: string;
placement?: Placement;
offsetX?: number;
offsetY?: number;
}>;
declare const Hint: FC<HintProps>;
type ModalProps = TourComponentProps<{
title: string;
body: string;
continueText?: string;
previousText?: string;
showCloseButton: boolean;
hideOverlay: boolean;
}>;
declare const Modal: FC<ModalProps>;
type TooltipProps = TourComponentProps<{
title: string;
body: string;
continueText?: string;
previousText?: string;
showCloseButton: boolean;
targetElement: string;
placement?: Placement;
hideOverlay?: boolean;
}>;
declare const Tooltip: FC<TooltipProps>;
export { Hint, type HintProps, Modal, type ModalProps, Tooltip, type TooltipProps };