Skip to content

Releases: peacechen/react-native-modal-selector

v2.1.2

24 Oct 18:39
Compare
Choose a tag to compare
  • Add onEndReached prop for FlatList (#180, #182)

v2.1.1

21 Jun 17:19
Compare
Choose a tag to compare
  • improved TypeScript types: added typings for method close() (issue #176 / commit 7d113b5)

v2.1.0

10 Sep 05:04
Compare
Choose a tag to compare
  • New prop header that accepts a React component (#170):

    header

v2.0.9

02 Sep 18:40
Compare
Choose a tag to compare

Enhancements of TypeScript types:

  • export of prop types: #173
  • add missing props #161 (also upgrades SampleApp and converts it to TypeScript)
  • fix for renderItem bug (required prop by FlatList): 539673a

2.0.8

05 Aug 12:32
Compare
Choose a tag to compare
  • TS: Add option param to onModalClose type (#166, #140)

2.0.7

12 Jul 15:20
Compare
Choose a tag to compare
  • Use keyExtractor in onChange() (#140)

2.0.6

07 Jul 14:18
Compare
Choose a tag to compare
  • Fix corner case onChange when key is 0

2.0.5

07 Jul 13:22
Compare
Choose a tag to compare
  • onChange should fire only for valid option with key (#140)

2.0.4

05 Jul 20:32
Compare
Choose a tag to compare
  • Fix prop types for web view in react native (#158) (#162)
  • Fix renderFlatlistOption() bug (should return renderOption result)
  • Readme: add listType prop
  • Add listType prop to support FlatList or ScrollView (#157)
  • Add eslint dev dependencies

v2.0.3

20 Aug 03:16
6ef850f
Compare
Choose a tag to compare
  • Add ability to pass extra props to Cancel button text in modal (#149)
  • Add prop optionsTestIDPrefix for test automation. Support testID key in data options (#148)