# @beisen-platform/multi-item

> ## 项目运行

Latest version **0.0.11-rc.1** (published 2019-04-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beisen-platform/multi-item
pnpm add @beisen-platform/multi-item
yarn add @beisen-platform/multi-item
bun add @beisen-platform/multi-item
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.11-rc.1 |
| Published | 2019-04-30 |
| First published | 2018-11-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 39.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | mengshuai |
| Maintainers | beisencorp |
| Keywords | beisen, react-component, es6, karma, jasmine |

## Links

- npm: https://www.npmjs.com/package/@beisen-platform/multi-item
- Repository: git@gitlab.beisen.co:cnpm/MultiItem
- npm.io page: https://npm.io/package/@beisen-platform/multi-item

## Dependencies (2)

- [@beisen-platform/tool-tip](https://npm.io/package/@beisen-platform/tool-tip.md)
- [@beisen-platform/react-icons](https://npm.io/package/@beisen-platform/react-icons.md)

## Recent versions

- 0.0.11-rc.1 (latest) — 2019-04-30
- 0.0.11 — 2019-03-15
- 0.0.10 — 2018-11-29

## README

# multi-item 使用说明

## 项目运行

1. cnpm install 或 npm install cnpm使用教程

2. npm run dev （开发环境打包 port:8080）

3. npm run test （测试用例）

4. npm run build （生产环境打包）

## multi-item 参数

```
  data:{
        "status": "edit" //状态："edit"或"show"
            ,"name":"北森学院" //title
            ,"pname":"北森" //父title
            ,"isActive":false //是否选中（暂时无用）
            ,"istips": true //（是否使用tips)
            ,itemClose: function(event, data){
              console.log(data)
            } //删除按钮回调
      }
```


## multi-item 调用方法

1.安装npm组件包

```
npm install @beisen/multi-item --save-dev
```

2.引用组件

  ```
import MultiItem from "@beisen/multi-item"
  ```
3.传入参数

  ```
  data: {
        "status": "edit"
            ,"name":"北森学院"
            ,"pname":"北森"
            ,"isActive":false
            ,"istips": true
            ,itemClose: function(event, data){
              console.log(data)
            }
      }
  render () {
      return (
        <MultiItem {...this.state.data} />
      )
    }
  ```

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