Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-gallery-picker
Advanced tools
See the Example Image Picker
React gallery picker is a React Js component for building image galleries and select images
Features of react-gallery-picker
npm install react-gallery-picker
Need more? See sample/src/index.js
import Gallery from "react-gallery-picker";
const IMAGE1 = "/assets/images/1.jpg"
const IMAGE2 = "/assets/images/2.jpg"
const IMAGE3 = "/assets/images/3.jpg"
const IMAGE_LIST = [{ url: IMAGE1, name: "imagen 1" },{ url: IMAGE2, name: "imagen 2" } ,{ url: IMAGE3, name: "imagen 3" } ];
export default () => {
const getImages = images => {
// Do something with the selected images)
console.log(images);
}
return <Gallery imagesRecived={IMAGE_LIST} returnImages={getImages} />
}
imagesRecived
: (required) Array of objects, see example above,
original
- image src urlbase64
- image base64returnImages
: (required) Function that returns an array of objects with the Boolean property selectedgit clone https://github.com/Daym3l/react-gallery-picker.git
cd react-gallery-picker
npm install
npm start
Then open localhost:3001
in a browser.
MIT
FAQs
React Gallery Images Picker
The npm package react-gallery-picker receives a total of 0 weekly downloads. As such, react-gallery-picker popularity was classified as not popular.
We found that react-gallery-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.