# pengdemo

> react图片库组件

Latest version **1.0.0** (published 2022-08-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install pengdemo
pnpm add pengdemo
yarn add pengdemo
bun add pengdemo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-08-23 |
| First published | 2022-08-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 48.9 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | luzhuangzhuang |
| Maintainers | winstin_demo |

## Links

- npm: https://www.npmjs.com/package/pengdemo
- npm.io page: https://npm.io/package/pengdemo

## Dependencies (5)

- [antd](https://npm.io/package/antd.md) ^3.23.4
- [axios](https://npm.io/package/axios.md) ^0.19.0
- [react](https://npm.io/package/react.md) ^16.9.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.9.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2

## Recent versions

- 1.0.0 (latest) — 2022-08-23

## README

## Install

```
npm i qm-ablum-react
```

## Api

```
multiple：boolean类型；默认值false，是否开启多选
getImgs: function(val)；val为图片库抛出的数据

```


## Usage

```
import Album from 'qm-ablum-react'

openAlbum() {
    this.refs.Album.openAlbum()
}

getImgs(val) {
    console.log(val)
}

render() {
    return (
        <div>
            <span onClick={this.openAlbum}>打开图库</span>
            <Album ref='Album' getImgs={this.getImgs}  multiple={false} />
        </div>
    )
}

```

---
_Source: https://npm.io/package/pengdemo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
