UNPKG

manuthecoder-react-native-spotlight-tour

Version:

React Native library to implement a highly customizable app tour feature with an awesome spotlight effect

26 lines (25 loc) 820 B
import { type ViewStyle } from "react-native"; import type { Optional } from "../../../helpers/common"; import type { ArrowOptions } from "../../SpotlightTour.context"; import type { MiddlewareData, Placement } from "@floating-ui/react-native"; interface TooltipArrowProps { arrow: Optional<ArrowOptions | number>; data: Optional<MiddlewareData["arrow"]>; placement: Placement; } export declare const DEFAULT_ARROW: Required<ArrowOptions>; export declare const Css: { overlayView: { height: number; width: number; }; tooltipArrow: { backgroundColor: string; height: number; position: "absolute"; width: number; zIndex: number; }; }; export declare function arrowCss({ arrow, data, placement }: TooltipArrowProps): ViewStyle; export {};