@codecraftkit/imagegallery
v1.1.8
Published
Made with create-react-library
Downloads
12
Readme
photogridandaction
Made with create-react-library
Install
npm install --save @codecraftkit/photogridandaction
Usage
import React, { useState } from 'react'
import ImageGallery from "@codecraftkit/imagegallery";
const Test = () => {
const [files,setFiles] = useState([])
return (
<ImageGallery
images={images}
state={files}
submitState={setFiles}
limit={4}
removeAlbumImages
removeAgencyImages
removeImageAction={(image)=>console.log(image)}
/>
=)
}
License
MIT © CodeCraft