par-ui
v0.0.101
Published
Parmais React Components Library
Downloads
150
Readme
A library of reusable React components that we are using at Par Mais.
Available components
|||| |:----------:|:----------:|:----------:| |avatar|badge|button| |card|checkbox|cnpjInput| |cpfInput|currencyInput|dateInput| |dateSelector|elidedTextBox|form| |header|icons|label| |maskedInput|radio|radioGroup| |requestButton|searchBar|select| |textField|switcher|textArea|
Using the components
From the command line inside of your project
npm install --save par-ui
Import the component that you want to use
// es6
import { requestButton } from 'par-ui'
- Use as if it was any other component
render () {
return (
<requestButton/>
)
}
Build
From the command line inside of your project
npm run prod:build
ESlint
win
$ npm install -g install-peerdeps
$ install-peerdeps --dev eslint-config-airbnb
linux/osx
npm info eslint-config-airbnb@latest peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add --dev eslint-config-airbnb@latest
Contributing
The Par Mais Tecnologia encourages participation. If you feel you can help in any way, be it with bug reporting, documentation, examples, extra testing, or new features feel free to create an issue, or better yet, [submit a Pull Request. For more information on contribution please see our Contributing guide.
License
Copyright (c) 2018 Par 6 Tecnologia LTDA.
Licensed under Apache 2.0.