@huzan/hz-device-select
v1.4.5
Published
## Install
Downloads
16
Readme
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