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

react-native-element-dropdown

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-element-dropdown - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

2

package.json
{
"name": "react-native-element-dropdown",
"title": "React Native Element Dropdown",
"version": "1.8.0",
"version": "1.8.1",
"description": "A react-native dropdown component easy to customize for both iOS and Android.",

@@ -6,0 +6,0 @@ "main": "index.ts",

@@ -70,4 +70,4 @@ ## react-native-element-dropdown

| valueField | String | Yes | Extract the primary key from the data item |
| onChange | (value[]) => void | Yes | Selection callback |
| value | Item[] | No | Selected value |
| onChange | (value[]) => void | Yes | Selection callback. A array containing the "valueField". |
| value | Item[] | No | Selected value. A array containing the "valueField". |
| placeholder | String | No | The string that will be rendered before dropdown has been selected |

@@ -101,2 +101,3 @@ | placeholderStyle | TextStyle | No | Styling for text placeholder |

| keyboardAvoiding | Boolean | No | keyboardAvoiding default is true |
| inside | Boolean | No | inside default is false |

@@ -103,0 +104,0 @@

@@ -41,3 +41,3 @@ import { useEffect, useState, useCallback } from 'react';

return () => {
if(susbcription?.remove){
if (typeof susbcription?.remove === 'function') {
susbcription.remove();

@@ -44,0 +44,0 @@ }else {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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