UNPKG

@flows/react-components

Version:

Built-in components for Flows React SDK

43 lines (38 loc) 1.06 kB
import { FC } from 'react'; import { C as ComponentProps, P as Placement } from './tooltip-BH43qtSr.mjs'; type ModalProps = ComponentProps<{ title: string; body: string; continueText?: string; showCloseButton: boolean; hideOverlay: boolean; continue: () => void; close: () => void; }>; declare const Modal: FC<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: FC<TooltipProps>; 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: FC<HintProps>; export { Hint, type HintProps, Modal, type ModalProps, Tooltip, type TooltipProps };