react-native-simple-drop-menu

1.0.5 • Public • Published

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;

Package Sidebar

Install

npm i react-native-simple-drop-menu

Weekly Downloads

3

Version

1.0.5

License

ISC

Unpacked Size

5.65 kB

Total Files

4

Last publish

Collaborators

  • npm-kishan