@crosscement/react-native-tooltip
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.8 • Public • Published

@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

Package Sidebar

Install

npm i @crosscement/react-native-tooltip

Weekly Downloads

1

Version

1.0.0-alpha.8

License

MIT

Unpacked Size

80.7 kB

Total Files

38

Last publish

Collaborators

  • hizp