mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
Add React Native snippets
This commit is contained in:
7
snippets/react-native/static_channel_backup.ts
Normal file
7
snippets/react-native/static_channel_backup.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { staticBackup } from "@breeztech/react-native-breez-sdk"
|
||||
|
||||
const exampleStaticBackup = async () => {
|
||||
// ANCHOR: static-channel-backup
|
||||
let backupData = await staticBackup({ workingDir: "<working directory>" })
|
||||
// ANCHOR_END: static-channel-backup
|
||||
}
|
||||
Reference in New Issue
Block a user