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

react-native-picker-select

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-picker-select - npm Package Compare versions

Comparing version 6.3.1 to 6.3.2

8

CHANGELOG.md

@@ -0,1 +1,9 @@

### 6.3.2
##### Bugfix
- Update typescript definition file to add `InputAccessoryView`
---
### 6.3.1

@@ -2,0 +10,0 @@

7

index.d.ts

@@ -1,2 +0,2 @@

/// <reference types="react" />
// / <reference types="react" />

@@ -19,5 +19,5 @@ declare module 'react-native-picker-select' {

children?: any;
placeholderTextColor?: string;
placeholderTextColor?: string; // deprecated
useNativeAndroidPickerStyle?: boolean;
hideDoneBar?: boolean;
hideDoneBar?: boolean; // deprecated
doneText?: string;

@@ -33,2 +33,3 @@ onDonePress?: () => void;

Icon?: React.ReactNode;
InputAccessoryView?: React.ReactNode;
}

@@ -35,0 +36,0 @@ class Picker extends React.Component<PickerProps> {}

{
"name": "react-native-picker-select",
"version": "6.3.1",
"version": "6.3.2",
"description": "A Picker component for React Native which emulates the native <select> interfaces for each platform",

@@ -71,4 +71,7 @@ "license": "MIT",

"enzyme-to-json/serializer"
],
"testPathIgnorePatterns": [
"<rootDir>/demo/"
]
}
}

@@ -16,3 +16,3 @@ # react-native-picker-select

![iOS Example](./example/ios-example.gif) ![Android Example](./example/android-example.gif)
![iOS Example](./ex-ios.gif) ![Android Example](./ex-android.gif)

@@ -33,13 +33,13 @@ ## [View examples on snack.expo.io](https://snack.expo.io/@lfkwtz/react-native-picker-select)

export const Dropdown = () => {
return (
<RNPickerSelect
onValueChange={(value) => console.log(value)}
items={[
{ label: 'Football', value: 'football' },
{ label: 'Baseball', value: 'baseball' },
{ label: 'Hockey', value: 'hockey' },
]}
/>
)
}
return (
<RNPickerSelect
onValueChange={(value) => console.log(value)}
items={[
{ label: 'Football', value: 'football' },
{ label: 'Baseball', value: 'baseball' },
{ label: 'Hockey', value: 'hockey' },
]}
/>
);
};
```

@@ -46,0 +46,0 @@

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