Skip to main content

Tooltip

Small bubble with extra information, shown when the wrapped element is pressed. It flips below the element when there is no room above.

Usage

import {Info} from 'lucide-react-native';
import {Tooltip} from 'rn-inkpad';

<Text>
Information{' '}
<Tooltip text="Lorem ipsum dolor sit amet, consectetur adipiscing elit.">
<Info size={20} />
</Tooltip>
</Text>;

Props

NameTypeDefaultDescription
textstringTooltip content.
childrenReactElementElement that toggles the tooltip.