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