0.1.8 • Published 6 years ago

react-dlcs-panel v0.1.8

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

react-dlcs-panel

Travis Build Status npm package Coveralls

This library implements a DLCS image lister panel for React.

Demo:

Demo image

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