Skip to content

git-kishan/react-native-simple-drop-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

Simple dropdown menu to allow users to select one of them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published