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;
git-kishan/react-native-simple-drop-menu
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple dropdown menu to allow users to select one of them.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published