Releases: testshallpass/react-native-thumbnail-selector
Releases · testshallpass/react-native-thumbnail-selector
2.1.1
Updated README and fixed badges.
2.1.0
I reduced state changes and cleaned up logic.
BREAKING CHANGES
thumbnails
is now a prop instead of it being passed intoshow()
.activeBorderColor
defaults toblack
.
FEATURE
- Add
thumbnails
as prop and defaults to[]
. - Add
selectedIndex
as prop and defaults to -1. - Add
viewHeight
as prop, defaults to 0.
FIX
- Animated view container not overlapping it's parent view container.
2.0.0
I refactored the component to bring it up to speed and to simplify it.
BREAKING CHANGES
items
replaced bythumbnails
that are passed into show function.opacity
replaced byactiveOpacity
andinactiveOpacity
.backgroundColor
replaced by containerStyle's backgroundColor.onSelectedData
renamed toonSelect
.closeOnSelect
removed.zIndex
removed.closeOnSelectInterval
replaced byanimationDuration
.numberOfLines
removed.visible
removed and use show and hide functions.captionTextStyle
replaced bycaptionStyle
.thumbnailImageStyle
replaced byimageStyle
.flatlistProps
removed.itemContainerStyle
replaced bythumbnailStyle
.loadMore
removed.
1.5.0
ViewPropTypes