@crosscement/react-native-tooltip
v1.0.0-alpha.9
Published
smart tooltip
Downloads
488
Readme
@crosscement/react-native-tooltip
A simple and easy to use tooltip component.
Sample
Installation
npm install @crosscement/react-native-tooltip
Usage
<Tooltip
visible={visible}
content={<Text>tooltip</Text>}
placement="bottom"
contentStyle={{
maxWidth: 100,
}}
>
<Button title="toggle" onPress={() => setVisible(!visible)} />
</Tooltip>
License
MIT