1.0.0-alpha.8 • Published 2 years ago

@crosscement/react-native-tooltip v1.0.0-alpha.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@crosscement/react-native-tooltip

A simple and easy to use tooltip component.

npm

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