This pull request introduces a new feature that allows customization of the payment methods displayed in the payment request modal.
The bc-send-payment component now accepts a paymentMethods property, which can be set to all (default), internal, or external
internal: Shows only the internal payment methods (connecting a wallet).
external: Displays only the external payment methods (QR code and invoice).
all: Displays both internal payment methods (connecting a wallet) and external payment methods (QR code and invoice).
The layout and spacing of the payment methods have been adjusted to ensure a consistent and visually appealing design, regardless of the selected payment options.
To use this feature, set the payment-methods property on the bc-send-payment component to the desired value:
This pull request introduces a new feature that allows customization of the payment methods displayed in the payment request modal.
The bc-send-payment component now accepts a
paymentMethods
property, which can be set toall
(default),internal
, orexternal
internal: Shows only the internal payment methods (connecting a wallet). external: Displays only the external payment methods (QR code and invoice). all: Displays both internal payment methods (connecting a wallet) and external payment methods (QR code and invoice).
The layout and spacing of the payment methods have been adjusted to ensure a consistent and visually appealing design, regardless of the selected payment options.
To use this feature, set the
payment-methods
property on thebc-send-payment
component to the desired value:The changes have been added to the
dev/vita
index, so you can see the results by runningyarn dev.
Fix #212