Skip to content

charlyBerthet/react-image-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-image-select

An Image Select control built with and for React JS

get started

1. install

npm install react-image-select

2. import

import ImageSelect from 'react-image-select';

3. use

<ImageSelect
  images={['/images/apple.png', '/images/banana.png', '/images/pear.png']}
  width={20}
  height={20}
  defaultIndex={2} // will select pear.png
  onChange={this._handleChange}/>

About

An Image Select control built with and for React JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published