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.5.10 to 1.6.0

2

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

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

@@ -33,3 +33,3 @@ ## react-native-element-dropdown

| valueField | String | Yes | Extract the primary key from the data item |
| onChange | (item) => void | Yes | Selection callback |
| onChange | (item: object) => void | Yes | Selection callback |
| value | Item | No | Selected value |

@@ -48,2 +48,3 @@ | placeholder | String | No | The string that will be rendered before dropdown has been selected |

| search | Boolean | No | Show or hide input search |
| searchQurey | (keyword: string, labelValue: string) => Boolean| No | Callback used to filter the list of items |
| inputSearchStyle | ViewStyle | No | Styling for input search |

@@ -58,3 +59,3 @@ | searchPlaceholder | String | No | The string that will be rendered before text input has been entered |

| renderRightIcon | () => JSX.Element | No | Customize right icon for dropdown |
| renderItem | (item) => JSX.Element | No | Takes an item from data and renders it into the list |
| renderItem | (item: object) => JSX.Element | No | Takes an item from data and renders it into the list |
| flatListProps | FlatListProps | No | Customize FlastList element |

@@ -84,5 +85,6 @@ | onFocus | () => void | No | Callback that is called when the dropdown is focused |

| selectedTextStyle | TextStyle | No | Styling for selected text |
| renderSelectedItem | (item, unSelect?: () => void) => JSX.Element | No | Takes an item from data and renders it into the list selected |
| renderSelectedItem | (item: object, unSelect?: () => void) => JSX.Element | No | Takes an item from data and renders it into the list selected |
| alwaysRenderSelectedItem | Boolean | No | Always show the list of selected items |
| search | Boolean | No | Show or hide input search |
| searchQurey | (keyword: string, labelValue: string) => Boolean | No | Callback used to filter the list of items |
| inputSearchStyle | ViewStyle | No | Styling for input search |

@@ -96,3 +98,3 @@ | searchPlaceholder | String | No | The string that will be rendered before text input has been entered |

| renderRightIcon | () => JSX.Element | No | Customize right icon for dropdown |
| renderItem | (item) => JSX.Element | No | Takes an item from data and renders it into the list |
| renderItem | (item: object) => JSX.Element | No | Takes an item from data and renders it into the list |
| flatListProps | FlatListProps | No | Customize FlastList element |

@@ -99,0 +101,0 @@ | onFocus | () => void | No | Callback that is called when the dropdown is focused |

@@ -35,4 +35,5 @@ import React from 'react';

onBlur?: () => void;
searchQuery?: (keyword: string, labelValue: string) => boolean;
};
export type DropdownProps = IProps;

@@ -36,4 +36,5 @@ import React from 'react';

onBlur?:() => void;
searchQuery?: (keyword: string, labelValue: string) => boolean;
};
export type MultiSelectProps = IProps;

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