m-zhinanmao-component-photo
v0.2.1
Published
zhinanmao photo preview.
Readme
m-zhinanmao-component-photo
指南猫移动端图片预览组件
使用
import { PhotoProvider, PhotoConsumer } from 'm-zhinanmao-component-photo';
<PhotoProvider>
<ImageList>
{photoImages.map((item, index) => (
<PhotoConsumer key={index} src={item} intro={item}>
<SmallImage src={item} />
</PhotoConsumer>
))}
</ImageList>
</PhotoProvider>开始
yarn
yarn start
yarn compile开发
查看 rc-tools 、styled-components
