Skip to content

@jsamr/react-native-li@2.0.0

Compare
Choose a tag to compare
@jsamr jsamr released this 15 Apr 23:42
· 23 commits to master since this release

2.0.0 (2021-04-15)

Features

  • react-native-li: add rtlMarkerReversed prop to MarkerBox (ee5d729)
  • react-native-li: add markerTextStyle and markerBoxStyle props (ff57162)
  • react-native-li: enrich API of renderMarker and MarkerBox (8a2d851)

BREAKING CHANGES

  • react-native-li: renderMarker and MarkerBox props have changed. Instead of letting the MarkedListItem generate the marker string, the counterRenderer and counterIndex are passed down to renderMarker.
  • react-native-li: markerStyle has been dropped. Use markerBoxStyle to style the marker container, and markerTextStyle to style the marker string.