Skip to content

Release v2.4.0

Latest

Choose a tag to compare

@troberts-28 troberts-28 released this 13 Dec 19:31
b7b5102

✨ Features

  • Add a labelOffsetPercentage prop to control the distance between the label and each picker.

📈 Improvements

  • Improve the default styling of TimerPicker and TimerPickerModal to remove hacky sizing/positioning calculations based on font size and avoid FlatList width determination issues. This should solve some longstanding issues on certain Android devices (#50).
  • Pad numbers with a figure space instead of a standard space to fix alignment issue when padWithZero is set to false.
  • Make midnight appear as '12 AM' on the 12-hour picker rather than '0 AM' (according to convention) (#67).
  • Extract PickerItem into its own memoized component.

⚙️ Dev Setup Modifications

  • Updated deps in the Expo example project.