Fix RN indentation

This commit is contained in:
ok300
2023-11-13 17:42:24 +01:00
parent 09448a1f6a
commit 936e92923b
2 changed files with 18 additions and 18 deletions

View File

@@ -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
}