0.2.33-beta.1 • Published 3 months ago

bank-connection-core v0.2.33-beta.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

bank-connection-core

Introduction

This is a React component that allows users to connect their bank accounts. Please install the specified version number.

quick start

Install

npm install bank-connection-core@0.2.33-beta.1

Usage

import  SeelBankConnectionButtons from 'bank-connection-core';

 <SeelBankConnectionButtons
    env='test'
    userId='4072955370947952142'
    modalWrapStyle={{
      zIndex: 999,
      backgroundColor: "rgb(200 197 255 / 30%)",
    }}
    onFinish={(code,data) => { console.log(code, data,'on finish') }}
  />

Props

interface SeelBankConnectionButtonsProps {
  /**
   * Custom styles for the modal wrapper
   */
  modalWrapStyle?: React.CSSProperties;

  /**
   * User ID for identification
   */
  userId: string;
  
  /**
   * User email address
   */
  userEmail?: string;
  
  /**
   * User phone number
   */
  userPhone?: string;

  /**
   * Callback when the process is finished
   * @param code Result code
   * @param data Result data
   */
  onFinish?: (code: number|null, data: any) => void;
  
  /**
   * Callback when the button is clicked
   */
  onClick?: () => void;
  
  /**
   * Whether to use production environment
   * default value is false
   */
  isProd?: boolean;     
  
  /**
   * Custom button name/label
   */
  buttonName?: string;

  /**
   * unbind cart
   * @default ''
   * type = delete indicates the unbind button
   */
   type: string 
}
0.2.33-beta.1

3 months ago

0.2.32

4 months ago

0.2.32-beta.1

4 months ago

0.2.31

5 months ago

0.2.30

8 months ago

0.2.27

11 months ago

0.2.29

11 months ago

0.2.28

11 months ago

0.2.26

11 months ago

0.2.25

11 months ago

0.2.21

11 months ago

0.2.20

11 months ago

0.2.19

11 months ago

0.2.18

11 months ago

0.2.17

11 months ago

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.11

2 years ago

0.2.10

2 years ago

0.2.7

2 years ago

0.2.9

2 years ago

0.2.6

2 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago