TooltipContent (ui/tooltip.tsx)

react-native-expo-turbo-saas-kit · packages/ui/src/components/ui/tooltip.tsx · typescript · MIT
ui, UI / Frontend

Reusable tooltip component with animations for React Native apps

// Source: https://github.com/makerkit/react-native-expo-turbo-saas-kit | License: MIT | Copyright 2025 MakerKit
// Provided via justclaw.it.com; keep this notice with the code.
import { NativeOnlyAnimatedView } from './native-only-animated-view';
import { TextClassContext } from './text';
import { cn } from '../../lib/utils';
import * as TooltipPrimitive from '@rn-primitives/tooltip';
import * as React from 'react';
import { Platform, StyleSheet } from 'react-native';
import { FadeInDown, FadeInUp, FadeOut } from 'react-native-reanimated';
import { FullWindowOverlay as RNFullWindowOverlay } from 'react-native-screens';

const Tooltip = TooltipPrimitive.Root;

const TooltipTrigger = TooltipPrimitive.Trigger;

const FullWindowOverlay = Platform.OS === 'ios' ? RNFullWindowOverlay : React.Fra

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key