Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-arm-dropdown

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-arm-dropdown

DropDown for React-Native

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React-Native-Arm-DropDown

install React-Native-Arm-DropDown

if RN version >= 0.60

npm i react-native-arm-dropdown

Props
PropsTypes
titleString
idNumber
itemsArray
titleStyleObject or Array
Example
import DropDown from 'react-native-arm-dropdown';

let data = {
    title: 'DropDown',
    id: 1,
    items: [
        {title: 'item 1', id: 2},
        {title: 'item 2', id: 3},
        {
            title: 'item 3',
            id: 4,
            items: [
                {title: 'item 5', id: 6}
            ]
        },
        {title: 'item 4', id: 5}
    ]
};

****
****
****

<DropDown
    title={data.title}
    id={data.id}
    items={data.items}
    onChange={(id, title)=>{
        console.log(id, title);
    }}
/>

Keywords

FAQs

Package last updated on 12 Feb 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc