Package Exports
- @luckypear/react-native-thumbhash
Readme
react-native-thumbhash
A very compact representation of an image placeholder for react native
This is in pre-release
| Thumbhash is in not ready yet...🚧 A true release is coming soon. | You can only check that thumbhash renders correctly
Features
- thumbhash rendering (decoding)
- new arch/old arch support
- async dencoding
- thumbhash decoding
Installation
yarn add @luckypear/react-native-thumbhash
npx pod-install
Usage
import { Thumbhash } from '@luckypear/react-native-thumbhash';
// ...
<Thumbhash thumbhash="3OcRJYB4d3h/iIeHeEh3eIhw+j2w" />;
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
Resources
- react-native-blurhash. cloned many setting. thx!
- woltapp/blurhash. Thanks for great algorithm