@kodex-react/hashicon-tsx
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-rc.1 • Public • Published

@kodex-react/hashicon-tsx

yarn add @kodex-react/hashicon-tsx or npm install @kodex-react/hashicon-tsx

Generates a beautiful representation of any string value.

React component for @emeraldpay/hashicon

Install

Install with:

yarn add @kodex-data/hashicon-tsx

Install Original with:

npm install @emeraldpay/hashicon-react --save

Usage

import { Hashicon } from '@kodex-data/hashicon-tsx';

// something that you want to represent visually. For example ID of an object on the screen.
const value = "9dddff8f-be81-4c27-80c8-099327865f3f";

// icon is a <canvas> element
<Hashicon value={value}/>

// Same icon with 80px in size
<Hashicon value={value} size={89}/>

Package Sidebar

Install

npm i @kodex-react/hashicon-tsx

Weekly Downloads

1

Version

0.0.1-rc.1

License

MIT

Unpacked Size

5.49 kB

Total Files

8

Last publish

Collaborators

  • brittanneica
  • wizardsorb
  • oldcryptogeek