react-imageviewer
v0.0.5
Published
A simple image viewer for react
Downloads
3
Maintainers
Readme
react-imageviewer
A simple image viewer for reactjs
install
npm install react-imageviewer
demo
git clone https://github.com/arixse/react-imageviewer.git
cd react-imageviewer
npm install
npm start
build
npm run build
Props
type
(required, object) 'dom':用现有的iamge元素初始化viewer 'data':用数据初始化vieweritems
(required, object) 如果是'data'模式,这个属性是必须要添加的
see viewer to get more information