├── .eslintrc.json ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── babel.config.js ├── example.gif ├── example ├── .gitignore ├── App.tsx ├── app.json ├── assets │ ├── adaptive-icon.png │ ├── favicon.png │ ├── icon.png │ └── splash.png ├── babel.config.js ├── metro.config.js ├── package.json ├── src │ ├── components │ │ ├── BasicGalleryPreview.tsx │ │ ├── ChildrenGalleryPreview │ │ │ ├── ChildrenGalleryPreview.tsx │ │ │ ├── ImageItem.tsx │ │ │ └── VideoItem.tsx │ │ ├── ExampleWrapper.tsx │ │ ├── GalleryPreviewWIthCustomHeader.tsx │ │ ├── OpenOnSpecificImageExample.tsx │ │ └── OverlayComponentExample.tsx │ └── images.ts ├── tsconfig.json └── yarn.lock ├── lefthook.yml ├── package.json ├── src ├── GalleryPreview.tsx ├── components │ ├── DebugView │ │ ├── DebugView.tsx │ │ └── ReText.tsx │ ├── DefaultHeader │ │ └── DefaultHeader.tsx │ ├── DefaultImageComponent │ │ └── DefaultImageComponent.tsx │ ├── GalleryPreviewForChildren │ │ ├── GalleryChildrenItem.tsx │ │ └── GalleryPreviewForChildren.tsx │ ├── GalleryPreviewForImage │ │ ├── GalleryImageItem.tsx │ │ └── GalleryPreviewForImage.tsx │ ├── GalleryStatusBar │ │ ├── GalleryStatusBar.ios.tsx │ │ ├── GalleryStatusBar.tsx │ │ └── GalleryStatusBar.type.ts │ ├── GestureItemComponent │ │ └── GestureItemComponent.tsx │ └── ModalContainer │ │ └── ModalContainer.tsx ├── constants.ts ├── hooks │ └── useGalleryPreview.ts ├── index.tsx ├── types.ts └── utils │ ├── clamp.ts │ └── useVector.ts ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/babel.config.js -------------------------------------------------------------------------------- /example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example.gif -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/App.tsx -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/app.json -------------------------------------------------------------------------------- /example/assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/assets/adaptive-icon.png -------------------------------------------------------------------------------- /example/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/assets/favicon.png -------------------------------------------------------------------------------- /example/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/assets/icon.png -------------------------------------------------------------------------------- /example/assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/assets/splash.png -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/package.json -------------------------------------------------------------------------------- /example/src/components/BasicGalleryPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/components/BasicGalleryPreview.tsx -------------------------------------------------------------------------------- /example/src/components/ChildrenGalleryPreview/ChildrenGalleryPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/components/ChildrenGalleryPreview/ChildrenGalleryPreview.tsx -------------------------------------------------------------------------------- /example/src/components/ChildrenGalleryPreview/ImageItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/components/ChildrenGalleryPreview/ImageItem.tsx -------------------------------------------------------------------------------- /example/src/components/ChildrenGalleryPreview/VideoItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/components/ChildrenGalleryPreview/VideoItem.tsx -------------------------------------------------------------------------------- /example/src/components/ExampleWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/components/ExampleWrapper.tsx -------------------------------------------------------------------------------- /example/src/components/GalleryPreviewWIthCustomHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/components/GalleryPreviewWIthCustomHeader.tsx -------------------------------------------------------------------------------- /example/src/components/OpenOnSpecificImageExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/components/OpenOnSpecificImageExample.tsx -------------------------------------------------------------------------------- /example/src/components/OverlayComponentExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/components/OverlayComponentExample.tsx -------------------------------------------------------------------------------- /example/src/images.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/src/images.ts -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/lefthook.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/package.json -------------------------------------------------------------------------------- /src/GalleryPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/GalleryPreview.tsx -------------------------------------------------------------------------------- /src/components/DebugView/DebugView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/DebugView/DebugView.tsx -------------------------------------------------------------------------------- /src/components/DebugView/ReText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/DebugView/ReText.tsx -------------------------------------------------------------------------------- /src/components/DefaultHeader/DefaultHeader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/DefaultHeader/DefaultHeader.tsx -------------------------------------------------------------------------------- /src/components/DefaultImageComponent/DefaultImageComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/DefaultImageComponent/DefaultImageComponent.tsx -------------------------------------------------------------------------------- /src/components/GalleryPreviewForChildren/GalleryChildrenItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/GalleryPreviewForChildren/GalleryChildrenItem.tsx -------------------------------------------------------------------------------- /src/components/GalleryPreviewForChildren/GalleryPreviewForChildren.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/GalleryPreviewForChildren/GalleryPreviewForChildren.tsx -------------------------------------------------------------------------------- /src/components/GalleryPreviewForImage/GalleryImageItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/GalleryPreviewForImage/GalleryImageItem.tsx -------------------------------------------------------------------------------- /src/components/GalleryPreviewForImage/GalleryPreviewForImage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/GalleryPreviewForImage/GalleryPreviewForImage.tsx -------------------------------------------------------------------------------- /src/components/GalleryStatusBar/GalleryStatusBar.ios.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/GalleryStatusBar/GalleryStatusBar.ios.tsx -------------------------------------------------------------------------------- /src/components/GalleryStatusBar/GalleryStatusBar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/GalleryStatusBar/GalleryStatusBar.tsx -------------------------------------------------------------------------------- /src/components/GalleryStatusBar/GalleryStatusBar.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/GalleryStatusBar/GalleryStatusBar.type.ts -------------------------------------------------------------------------------- /src/components/GestureItemComponent/GestureItemComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/GestureItemComponent/GestureItemComponent.tsx -------------------------------------------------------------------------------- /src/components/ModalContainer/ModalContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/components/ModalContainer/ModalContainer.tsx -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/hooks/useGalleryPreview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/hooks/useGalleryPreview.ts -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/clamp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/utils/clamp.ts -------------------------------------------------------------------------------- /src/utils/useVector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/src/utils/useVector.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrizuuu/react-native-gallery-preview/HEAD/yarn.lock --------------------------------------------------------------------------------