Socket
Socket
Sign inDemoInstall

react-native-tooltip-menu

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-tooltip-menu

ReactNative component showing tooltip with menu items.


Version published
Weekly downloads
365
increased by13%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-tooltip-menu

Currently works only with iOS. Android coming soon.

This component is a clickable button which will show you a tooltip menu with clickable menu. You can very easily customize how the component will look like.

How to install

npm install react-native-tooltip-menu --save

Example

import MenuTooltip from 'react-native-tooltip-menu';

const YourContainer = ({ onClick }) => (
  <MenuTooltip
    buttonComponent={
      <View>
        <Text>Click me to show tooltip!</Text>
      </View>
    }
    items={[
      {
        label: 'Label #1',
        onPress: () => console.log('Pressed Label #1'),
      },
      {
        label: 'Label #2',
        onPress: onClick,
      },
    ]}
  />
);

License

Keywords

FAQs

Package last updated on 22 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc