Skip to content

Commit a9cce6b

Browse files
committed
chore: update JSDoc
1 parent 11bf25d commit a9cce6b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/payment-widget/src/lib/react/PaymentWidget.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ export interface PaymentWidgetProps {
3939
* - Handles transaction creation and management
4040
* - Provides real-time payment status updates
4141
* - Supports full invoice information
42+
* - Allows enabling/disabling buyer information collection
43+
* - Option to hide the total amount displayed
44+
* - Configurable fee address and amount
45+
* - Option to enable PDF receipt generation
46+
* - Option to enable a request scan link
4247
*
4348
* @param {PaymentWidgetProps} props - The component props
4449
* @returns {JSX.Element}
@@ -74,8 +79,11 @@ export interface PaymentWidgetProps {
7479
* onError={(error) => {
7580
* console.error(error);
7681
* }}
77-
* feeAddress="0x1234567890123456789012345678901234567890
82+
* feeAddress="0x1234567890123456789012345678901234567890"
7883
* feeAmountInUSD={22}
84+
* enablePdfReceipt={true}
85+
* enableRequestScanLink={true}
86+
* hideTotalAmount={false}
7987
* />
8088
*/
8189
declare const PaymentWidget: React.FC<PaymentWidgetProps>;

0 commit comments

Comments
 (0)