m-zhinanmao-component-photo
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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-toolsstyled-components

Readme

Keywords

none

Package Sidebar

Install

npm i m-zhinanmao-component-photo

Weekly Downloads

3

Version

0.2.1

License

MIT

Unpacked Size

8.03 kB

Total Files

10

Last publish

Collaborators

  • zhinanmao