@datacomvn/file-opener
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

@datacomvn/file-opener

React Native file opener của Datacom Vietnam

Installation

yarn add @datacomvn/file-opener react-native-nitro-modules

> `react-native-nitro-modules` là bắt buộc vì thư viện này phụ thuộc vào [Nitro Modules](https://nitro.margelo.com/).

Usage

import { FileOpener } from '@datacomvn/file-opener';

// Mở file với đường dẫn cụ thể
const success = FileOpener.open('/path/to/your/file.pdf');

// Kiểm tra kết quả
if (success) {
  console.log('File đã được mở thành công');
} else {
  console.error('Không thể mở file');
}

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i @datacomvn/file-opener

Weekly Downloads

15

Version

0.1.4

License

MIT

Unpacked Size

49 kB

Total Files

44

Last publish

Collaborators

  • datacom-vn