oni-react-preview
Getting Started
Install
# Install $ npm install oni-react-preview --save
Usage Examples
{ const ImageUrl = isShow:true urls: 'https://avatar.csdn.net/A/1/F/3_onil_chen.jpg' current:0 { //可选,点击回调 } return <div className=styleswrap> <PreviewImage ...ImageUrl></PreviewImage> </div> ;}