1
0
Fork 0
mirror of https://github.com/BlueWallet/BlueWallet.git synced 2025-03-26 08:55:56 +01:00
BlueWallet/blue_modules/react-native-bw-file-access/index.ts
2024-02-18 10:21:43 +00:00

11 lines
249 B
TypeScript

// main index.js
import { NativeModules } from 'react-native';
const { BwFileAccess } = NativeModules;
export function readFile(filePath: string): Promise<string> {
return BwFileAccess.readFileContent(filePath);
}
export default BwFileAccess;