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
| Name | Type | Default | Description |
|---|---|---|---|
| text | string | Tooltip content. | |
| children | ReactElement | Element that toggles the tooltip. |