callcenter2_react_components
v0.0.1
Published
Library of Microvoz compponents for React
Downloads
1
Readme
React Microvoz Icons Pack
Include microvoz components in your React projects easly with callcenter2_react_components
.
Installation
npm install callcenter2_react_components --save
Usage
Import the component that you need.
import { SelectCmp } from 'callcenter2_react_components';
class Home extends React.Component {
render() {
const options = [{ id: 1, name: "option 1" }, { id: 2, name: "option 2" }]
return <SelectCmp values={options} />
}
}
Components
Currently supported components are:
- ButtonCmp -- Props: style, disabled, className, title, onClick
- SelectCmp -- Props: style, disabled, className, values, placeholder, onChange