1.0.0 • Published 5 years ago

viam-dynamic-payers-field v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

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

PropTypeDescriptionDefault
SERVER_URLStringURL API to Get tha information.null
idCountryStringId Country.null
idMainBranchstringId payer.null
modoPagoStringId modo pagonull
modoPagoStringId modo pagonull
idBranchStringId Branch of the Agencynull
idSenderStringId sender (Person who send money)null
idReceiverStringId receiver (Person who receive money)null
languageStringLanguage of the componet.en
languageURLStringLanguage sourcenull
handleChangeFuncFunction that return form values() => {}