- Navigate to your project's folder and run
npm install breact-components --save - Import components you wish to use
import { CPFTextField, CNPJTextField, CEPTextField } from 'breact-components';value : String(Optional)Initial valueediting: booleanWhether 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(): StringReturns the current value of the TextField, without the mask.