JSPM

@luckypear/react-native-thumbhash

0.2.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1223
  • Score
    100M100P100Q112314F
  • License MIT

A very compact representation of an image placeholder for react native

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