Open n1ru4l opened 6 years ago
Important:
This pull request is a follow-up to https://github.com/phuochau/react-native-thumbnail/pull/21, please consider merging #21 first.
Code Sample
import RNThumbnail from 'react-native-thumbnail'; RNThumbnail.get(filepath, { quality: 0.1 }).then((result) => { console.log(result.path); // thumbnail path })
@n1ru4l Seem the example is wrong again? the options should be a parameter of get method?
options
get
@phuochau I updated the example, however the code is fully functional
Important:
This pull request is a follow-up to https://github.com/phuochau/react-native-thumbnail/pull/21, please consider merging #21 first.
Code Sample