0.2.33-beta.1 • Published 4 months ago
bank-connection-core v0.2.33-beta.1
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
4 months ago
0.2.32
4 months ago
0.2.32-beta.1
4 months ago
0.2.31
6 months ago
0.2.30
9 months ago
0.2.27
12 months ago
0.2.29
12 months ago
0.2.28
12 months ago
0.2.26
12 months ago
0.2.25
12 months ago
0.2.21
1 year ago
0.2.20
1 year ago
0.2.19
1 year ago
0.2.18
1 year ago
0.2.17
1 year 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