UNPKG

@whitemordred/react-native-bootstrap5

Version:

A complete React Native library that replicates Bootstrap 5.3 with 100% feature parity, full theming support, CSS variables, and dark/light mode

25 lines 872 B
import React, { ReactNode } from 'react'; import { ViewStyle, TextStyle } from 'react-native'; interface TooltipProps { children: ReactNode; content: string | ReactNode; placement?: 'top' | 'bottom' | 'left' | 'right'; trigger?: 'hover' | 'click' | 'focus'; visible?: boolean; onVisibilityChange?: (visible: boolean) => void; style?: ViewStyle; tooltipStyle?: ViewStyle; textStyle?: TextStyle; backgroundColor?: string; textColor?: string; delay?: number; } interface PopoverProps extends TooltipProps { title?: string; dismissible?: boolean; variant?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark'; } export declare const Tooltip: React.FC<TooltipProps>; export declare const Popover: React.FC<PopoverProps>; export default Tooltip; //# sourceMappingURL=Tooltip.d.ts.map