0.0.5 • Published 1 year ago

react-native-rtl-gallery v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-calendar-date-range-picker

React native calendar range picker Version

Preview

Getting Started

Installation

Requirements

yarn add react-native-reanimated-zoom react-native-safe-area-context react-native-gesture-handler recyclerlistview
npm i react-native-reanimated-zoom react-native-safe-area-context react-native-gesture-handler recyclerlistview

npm

npm i react-native-rtl-gallery

Yarn

yarn add react-native-rtl-gallery

Props

PropertyRequiredTypeDefaultDescription
imagePropsNoImagePropsDefault image props for the outer image
galleryPropsNoGalleryExtraPropsProps to be passed to Gallery
imagesYesGalleryImage[][]Array of images in Gallery
onGalleryClosedCbNoFunction() => undefinedFunction that's triggered on gallery close

GalleryExtraProps | Property | Required | Type | Default | Description | |-------------|----|----------|-------|--------------------------------------------------------------| | rightComponent | No | ReactNode | undefined | Create right header component on gallery | | leftComponent | No | ReactNode | undefined | Replace back component on gallery | | bottomBarContent | No | ReactNode | undefined | Add bottom component to gallery |

Types

GalleryImage {
  id: string;
  uri: string;
};