@jsamr/react-native-li@2.0.0
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 toMarkerBox
(ee5d729) - react-native-li: add
markerTextStyle
andmarkerBoxStyle
props (ff57162) - react-native-li: enrich API of
renderMarker
andMarkerBox
(8a2d851)
BREAKING CHANGES
- react-native-li:
renderMarker
andMarkerBox
props have changed. Instead of letting theMarkedListItem
generate the marker string, thecounterRenderer
andcounterIndex
are passed down torenderMarker
. - react-native-li:
markerStyle
has been dropped. UsemarkerBoxStyle
to style the marker container, andmarkerTextStyle
to style the marker string.