1.0.11 • Published 4 years ago
@cc-test2/photogridandaction v1.0.11
photogridandaction
Made with create-react-library
Install
npm install --save @cc-test2/photogridandaction
Usage
import React, { useState } from 'react'
import PhotoGridAndAction from "@cc-test2/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