react-native-element-dropdown
Advanced tools
Comparing version 1.8.0 to 1.8.1
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
294358
851