@beisen/multi-item

## 项目运行

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@beisen/multi-item
Minified + gzip package size for @beisen/multi-item in KB

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} />
    )
  }

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.