Using the example provided in the readme, I keep getting the same error message consistently:
This error causes the tooltip to appear in the upper left hand corner (not where the activating button is located), and the triangle does not appear. Would be nice to get some better documentation for a working example.
Code looks like this:
import {Button, Text} from 'native-base';
...Within rendering component...
<TooltipView
trigger={onPress => (
<Button onPress={onPress}>
<Text>Text</Text>
</Button>
)}
>
{() => (
<Text>
Message in the tooltip
</Text>
)}
</TooltipView>
Using the example provided in the readme, I keep getting the same error message consistently:
This error causes the tooltip to appear in the upper left hand corner (not where the activating button is located), and the triangle does not appear. Would be nice to get some better documentation for a working example.
Code looks like this: