Skip to content

Releases: testshallpass/react-native-thumbnail-selector

2.1.1

11 Jan 20:14
Compare
Choose a tag to compare

Updated README and fixed badges.

2.1.0

11 Jan 20:13
Compare
Choose a tag to compare

I reduced state changes and cleaned up logic.

BREAKING CHANGES

  • thumbnails is now a prop instead of it being passed into show().
  • activeBorderColor defaults to black.

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

28 Dec 22:35
Compare
Choose a tag to compare

I refactored the component to bring it up to speed and to simplify it.

BREAKING CHANGES

  • items replaced by thumbnails that are passed into show function.
  • opacity replaced by activeOpacity and inactiveOpacity.
  • backgroundColor replaced by containerStyle's backgroundColor.
  • onSelectedData renamed to onSelect.
  • closeOnSelect removed.
  • zIndex removed.
  • closeOnSelectInterval replaced by animationDuration.
  • numberOfLines removed.
  • visible removed and use show and hide functions.
  • captionTextStyle replaced by captionStyle.
  • thumbnailImageStyle replaced by imageStyle.
  • flatlistProps removed.
  • itemContainerStyle replaced by thumbnailStyle.
  • loadMore removed.

1.5.0

25 Sep 01:38
Compare
Choose a tag to compare

ViewPropTypes