This library implements a DLCS image lister panel for React.
Demo:
If you have a DLCS account:
https://react-dlcs-panel.netlify.com/
npm install react-dlcs-panel
or
yarn add react-dlcs-panel
import React from 'react'
import { DLCSImageSelector } from 'react-dlcs-panel'
const ImageSelectorDemo = (props) => (
<div style={{width:'100%', height: '100%'}}>
<DLCSImageSelector imageOnClick={(ev, image)=>{
alert(image['@id'])
}/>
</div>
)
TODO:
- Finish Readme.md
- Add ability to upload image (currently on feature branch)
- Infinite scroll
- Increase Test Coverage