Socket
Socket
Sign inDemoInstall

react-native-dropdown-menu

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-dropdown-menu

Dorpdown menu for react native


Version published
Weekly downloads
294
decreased by-11.45%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-native-dropdown-menu

A <DropdownMenu> component for react-native.It is very easy to use.

image

Install

npm i --save react-native-dropdown-menu

Usage

var DropdownMenu = require('react-native-dropdown-menu');

var Demo = React.createClass({

  render() {
    var data = [["C", "Java", "JavaScript"], ["Python", "Ruby"], ["Swift", "Objective-C"]];
    return (
      <View style={{flex: 1}} >
        <DropdownMenu style={{flex: 1}} data={data} maxHeight={410}
          handler={(selection, row) => alert(data[selection][row]} >
          ...
        </DropdownMenu>
      </View>
    );
  }

Keywords

FAQs

Last updated on 11 Nov 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc