npm.io
0.0.1 • Published 8 years ago

callcenter2_react_components

Licence
ISC
Version
0.0.1
Deps
1
Size
233 kB
Vulns
0
Weekly
0

React Microvoz Icons Pack

React

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