@huzan/hz-device-select

1.4.5 • Public • Published

hz-device-select

Install

npm install --save @huzan/hz-device-select

Usage

import React, {Component} from 'react'

import DeviceSelectMulti from '@huzan/hz-device-select'
import '@huzan/hz-device-select/style'

class Example extends Component {
    render() {
        return <DeviceSelectMulti
                   visible={visible}
                   apiHost={apiHost}
                   accessToken={accessToken}
                   searchOption={['keyword', 'group_id']}
                   onCancel={this.onCancel}
                   onOk={this.onOk}
        />
    }
}

License

MIT © liyan

Readme

Keywords

none

Package Sidebar

Install

npm i @huzan/hz-device-select

Weekly Downloads

0

Version

1.4.5

License

MIT

Unpacked Size

180 kB

Total Files

11

Last publish

Collaborators

  • huzan