mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
Fix RN indentation
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
import {
|
||||
listPayments,
|
||||
PaymentTypeFilter
|
||||
listPayments,
|
||||
PaymentTypeFilter
|
||||
} from "@breeztech/react-native-breez-sdk"
|
||||
|
||||
const exampleListPayments = async () => {
|
||||
// ANCHOR: list-payments
|
||||
const payments = listPayments({})
|
||||
// ANCHOR_END: list-payments
|
||||
// ANCHOR: list-payments
|
||||
const payments = listPayments({})
|
||||
// ANCHOR_END: list-payments
|
||||
}
|
||||
|
||||
const exampleListPaymentsFiltered = async () => {
|
||||
// ANCHOR: list-payments-filtered
|
||||
const payments = listPayments({
|
||||
filters: [PaymentTypeFilter.SENT],
|
||||
fromTimestamp: 1696880000,
|
||||
includeFailures: true
|
||||
})
|
||||
// ANCHOR_END: list-payments-filtered
|
||||
// ANCHOR: list-payments-filtered
|
||||
const payments = listPayments({
|
||||
filters: [PaymentTypeFilter.SENT],
|
||||
fromTimestamp: 1696880000,
|
||||
includeFailures: true
|
||||
})
|
||||
// ANCHOR_END: list-payments-filtered
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user