react-native-picker-select
Advanced tools
Comparing version 6.3.1 to 6.3.2
@@ -0,1 +1,9 @@ | ||
### 6.3.2 | ||
##### Bugfix | ||
- Update typescript definition file to add `InputAccessoryView` | ||
--- | ||
### 6.3.1 | ||
@@ -2,0 +10,0 @@ |
@@ -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 @@ |
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
41297
558