@pinerohit11/testwidget 0.1.40 → 0.1.42

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.cts CHANGED
@@ -1,9 +1,55 @@
1
1
  import React from 'react';
2
2
 
3
- interface Props {
3
+ interface Props$2 {
4
4
  fractalpayClientKey: string;
5
5
  amount?: string;
6
6
  }
7
- declare function RequestPayment(props: Props): React.JSX.Element;
7
+ declare function RequestPayment(props: Props$2): React.JSX.Element;
8
+
9
+ interface RequestPaymentAllInputProps {
10
+ fractalpayClientKey: string;
11
+ }
12
+ declare function RequestPaymentAllInput({ fractalpayClientKey }: RequestPaymentAllInputProps): React.JSX.Element;
13
+
14
+ interface RequestPaymentDynamicProps {
15
+ fractalpayClientKey: string;
16
+ amount: string;
17
+ phone_number: string;
18
+ orderID: string;
19
+ }
20
+ declare function RequestPaymentDynamic({ fractalpayClientKey, amount, phone_number, orderID }: RequestPaymentDynamicProps): React.JSX.Element;
21
+
22
+ interface PaymentRequestProps {
23
+ fractalpayClientKey: string;
24
+ amount: string;
25
+ phone_number: string;
26
+ orderID: string;
27
+ onSuccess?: string;
28
+ onError?: string;
29
+ }
30
+ declare function RequestPaymentonClick(props: PaymentRequestProps): React.JSX.Element;
31
+
32
+ interface RequestPaymentProps {
33
+ fractalpayClientKey: string;
34
+ amount: string;
35
+ orderID: string;
36
+ }
37
+ declare function RqstPaymntInputField({ fractalpayClientKey, amount, orderID }: RequestPaymentProps): React.JSX.Element;
38
+
39
+ declare function Payment(): React.JSX.Element;
40
+
41
+ type Props$1 = {
42
+ fractalpayClientKey: string;
43
+ };
44
+ declare function CompletedTransactions(props: Props$1): React.JSX.Element;
45
+
46
+ declare function TockenizPay(): React.JSX.Element;
47
+
48
+ interface Props {
49
+ amount: string;
50
+ fractalpayClientKey: string;
51
+ orderID: string;
52
+ }
53
+ declare function GetPaymentDynamic(props: Props): React.JSX.Element;
8
54
 
9
- export { RequestPayment };
55
+ export { CompletedTransactions, GetPaymentDynamic, Payment, RequestPayment, RequestPaymentAllInput, RequestPaymentDynamic, RequestPaymentonClick, RqstPaymntInputField, TockenizPay };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,55 @@
1
1
  import React from 'react';
2
2
 
3
- interface Props {
3
+ interface Props$2 {
4
4
  fractalpayClientKey: string;
5
5
  amount?: string;
6
6
  }
7
- declare function RequestPayment(props: Props): React.JSX.Element;
7
+ declare function RequestPayment(props: Props$2): React.JSX.Element;
8
+
9
+ interface RequestPaymentAllInputProps {
10
+ fractalpayClientKey: string;
11
+ }
12
+ declare function RequestPaymentAllInput({ fractalpayClientKey }: RequestPaymentAllInputProps): React.JSX.Element;
13
+
14
+ interface RequestPaymentDynamicProps {
15
+ fractalpayClientKey: string;
16
+ amount: string;
17
+ phone_number: string;
18
+ orderID: string;
19
+ }
20
+ declare function RequestPaymentDynamic({ fractalpayClientKey, amount, phone_number, orderID }: RequestPaymentDynamicProps): React.JSX.Element;
21
+
22
+ interface PaymentRequestProps {
23
+ fractalpayClientKey: string;
24
+ amount: string;
25
+ phone_number: string;
26
+ orderID: string;
27
+ onSuccess?: string;
28
+ onError?: string;
29
+ }
30
+ declare function RequestPaymentonClick(props: PaymentRequestProps): React.JSX.Element;
31
+
32
+ interface RequestPaymentProps {
33
+ fractalpayClientKey: string;
34
+ amount: string;
35
+ orderID: string;
36
+ }
37
+ declare function RqstPaymntInputField({ fractalpayClientKey, amount, orderID }: RequestPaymentProps): React.JSX.Element;
38
+
39
+ declare function Payment(): React.JSX.Element;
40
+
41
+ type Props$1 = {
42
+ fractalpayClientKey: string;
43
+ };
44
+ declare function CompletedTransactions(props: Props$1): React.JSX.Element;
45
+
46
+ declare function TockenizPay(): React.JSX.Element;
47
+
48
+ interface Props {
49
+ amount: string;
50
+ fractalpayClientKey: string;
51
+ orderID: string;
52
+ }
53
+ declare function GetPaymentDynamic(props: Props): React.JSX.Element;
8
54
 
9
- export { RequestPayment };
55
+ export { CompletedTransactions, GetPaymentDynamic, Payment, RequestPayment, RequestPaymentAllInput, RequestPaymentDynamic, RequestPaymentonClick, RqstPaymntInputField, TockenizPay };