Files don't appear and there is no error message. Is there a way to get diagnostic info from the component to find out why?
I'm trying to display some different file types, but just get a "Loading" animation and they never load. Is there a way to determine if the files are being seen by the component?
I'm passing a reference to the files as a relative path (i.e. put the sample pdf in the same folder as the code using it and display it using <QuickLook style={{ flex: 1 }} assetFileName={ './sample.pdf' } />). Is that approach not supported? How about using a React Native asset file, like require('../assets/sample.pdf')?
Additionally, I I had to wrap each <QuickLook> component in its own view before I got a "Loading" animation for each one, otherwise only the first one had the animation and the others were just blank.
@pedramsaleh I just fixed this : https://github.com/aerofs/react-native-quick-look/pull/5
@pedramsaleh 你是怎么引用的“ QuickLook”?我这样引用:import QuickLook from 'react-native-quick-look';,报错说,没有
