mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 21:35:21 +01:00
12 lines
249 B
TypeScript
12 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;
|