react-dlcs-panel
v0.1.0 react-component DLCS
react-dlcs-panel
This library implements a DLCS image lister panel for React.
Demo:
If you have a DLCS account:
https://react-dlcs-panel.netlify.com/
Installation
npm install react-dlcs-panel
or
yarn add react-dlcs-panel
Usage
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
npm i [email protected]
Metadata
- MIT
- Whatever
- Adam Meszaros
- released 7/25/2018