Miss any of our Open RFC calls?Watch the recordings here! »

react-native-jazzicon-custom-colors

0.0.3 • Public • Published

react-native-jazzicon-custom-colors

NPM version

This is a forked version for stanislaw-glogowski's react-native-jazzicon

Installation

  $ npm i react-native-jazzicon-custom-colors -S
  $ react-native link react-native-svg

Usage

With numeric seed:

import Jazzicon from 'react-native-jazzicon-custom-colors'
 
export default class App extends React.Component {
   render() {
      return (
        <Jazzicon colors={myColorsArray} size={120} seed={Math.round(Math.random() * 10000000)} />
      );
  }
}

With ethereum address:

import Jazzicon from 'react-native-jazzicon-custom-colors'
 
export default class App extends React.Component {
   render() { 
      return ( 
        <Jazzicon colors={myColorsArray} size={120} address={"0x2152220ab60719d6f987f6de1478971c585841c7"} />
      );
  }
}

License

The MIT License

Keywords

none

Install

npm i react-native-jazzicon-custom-colors

DownloadsWeekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

7.82 kB

Total Files

12

Last publish

Collaborators

  • avatar