lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.73k stars 491 forks source link

Add the correct interface arguments to the onClose prop #541

Closed Chessington closed 3 months ago

Chessington commented 4 months ago

The prop onClose for iOS is sending a Boolean that indicates if the donePress button was clicked. However, this is not reflected in the actual PickerSelectProps interface and so throws a linting error when using the component. It's a pretty easy fix and would help a lot, thanks.