Skip to content

conceptu/BReactComponents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🇧🇷 BReactComponents 🇧🇷

Reusable Material-UI React components for Brazilian apps

codebeat badge travis badge MIT License


Getting started

  1. Navigate to your project's folder and run npm install breact-components --save
  2. Import components you wish to use
import { CPFTextField, CNPJTextField, CEPTextField } from 'breact-components';

Available parameters and methods

  • value : String(Optional) Initial value
  • editing: boolean Whether you want to allow the value to be edited or to simply display it.
  • placeholder: String(Optional) Placeholder/tip to help the user.
  • errorMessage: String(Optional) On validated fields (CPF and CNPJ), the message that will be shown in case validation fails.
  • getValue(): String Returns the current value of the TextField, without the mask.

About

Reusable React components for Brazilian apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published