@zawlinnnaing/react-bnb-gallery

Simple photo gallery based on React and Airbnb image gallery. Forked from https://github.com/peterpalau/react-bnb-gallery

Usage no npm install needed!

<script type="module">
  import zawlinnnaingReactBnbGallery from 'https://cdn.skypack.dev/@zawlinnnaing/react-bnb-gallery';
</script>

README

Friendly, customizable and accessible-ready simple photo gallery based on React.


IMPORTANT NOTICE: This repository is forked from https://github.com/peterpalau/react-bnb-gallery and added custom component for photo options which is required for my personal use case. This repo is meant for those who needs custom components for images like me. Thus, I recommend using original library: react-bnb-gallery for other use cases. I will pull from original repo from time to time but I won't guarantee this one would be up-to-date all time. Finally, I will stop maintaining this repo when original implements custom component feature.

Install

You can install react-bnb-gallery from npm.

# If you are using npm
npm install --save @zawlinnnaing/react-bnb-gallery

# If you prefer yarn
yarn add @zawlinnnaing/react-bnb-gallery

Starting from here, Documentation from original repo is shown.

Live Demo

https://peterpalau.github.io/react-bnb-gallery/

Demo

Documentation

For full documentation, visit the demo website.

License

This package have been released under the MIT Licence.

Updates

If you are interested in view the main updates visit our CHANGELOG.md.

Contributing

If you're interested in contributing please read the contributing docs before submitting a pull request.