Skip to content

Liruwei/react-native-quicklook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-quicklook BuildPlatformnpm

This package helps us to view txt, pdf and office files in our application. In the iOS platform like mac system Quick Look function, but android, can only use another application to open.

Content

In the project folder, enter the following commands

// install
npm install react-native-quicklook
// link
react-native link react-native-quicklook
  • android

  • iOS

import QuickLookView from 'react-native-quicklook';

...
render() {
    return <QuickLookView fileUrl={"a.doc"} style={{flex:1}}/>
}
...

Ruwei Li, liruwei0109@outlook.com

react-native-quicklook is available under the ISC license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published