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