Socket
Book a DemoInstallSign in
Socket

react-native-simple-drop-menu

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-simple-drop-menu

It is a simple dropdown which which just takes array of data.

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

react-native-simple-drop-menu

Installation

npm i react-native-simple-drop-menu

import React from 'react';
import {View,Text} from 'react-native';
import Card from 'react-native-simple-drop-menu';

const App=()=>{
  const data=["Mrinal kumar karn","Negaht nazir","Shubham kumar","Raju kumar","Devendra singh"]
  return (
    <View style={{flex : 1}}>
        <Card 
           data={data}
           title="Select one of these item"
           onItemSelected={(item)=>{console.log(item +" is selected")}}
           width={300}
         />
    </View>
  )
}
export default App;

Keywords

drop-menu

FAQs

Package last updated on 09 Mar 2021

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