1.0.0 • Published 6 years ago
viam-dynamic-payers-field v1.0.0
Dynamics Fields - Payers
The dynamic payers fields
Installation
npm install --save @viamericas/ yarn add @viamericas/
Examples
USE:
import PayerDynamicFields from "@viamericas/";
    <PayersDynamicFields
      // SERVER_URL="https://localhost:5001/api/payers/rules"
      SERVER_URL="https://gnghsloydb.execute-api.us-east-1.amazonaws.com/dev/payers/rules"
      idCountry="HKG"
      idMainBranch=""
      modoPago=""
      idBranch="A00010"
      idSender="120"
      idReceiver="15073"
      // language="es"
      language="en"
      // languageURL="http://projectv-languages.s3-website-us-east-1.amazonaws.com"
      languageURL=""
      handleChange={ value => console.log("handleChange Values Form: ", value)}
    />
    Properties
| Prop | Type | Description | Default | 
|---|---|---|---|
| SERVER_URL | String | URL API to Get tha information. | null | 
| idCountry | String | Id Country. | null | 
| idMainBranch | string | Id payer. | null | 
| modoPago | String | Id modo pago | null | 
| modoPago | String | Id modo pago | null | 
| idBranch | String | Id Branch of the Agency | null | 
| idSender | String | Id sender (Person who send money) | null | 
| idReceiver | String | Id receiver (Person who receive money) | null | 
| language | String | Language of the componet. | en | 
| languageURL | String | Language source | null | 
| handleChange | Func | Function that return form values | () => {} | 
1.0.0
6 years ago