Nutritious Polygonal Meatball
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

react-native-jazzicon

0.1.2 • Public • Published

React Native Jazzicon

NPM version

React Native component for jazzicon

Installation

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

Usage

With numeric seed:

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

With ethereum address:

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

License

The MIT License

Keywords

none

Install

npm i react-native-jazzicon

DownloadsWeekly Downloads

59

Version

0.1.2

License

MIT

Unpacked Size

5.92 kB

Total Files

10

Last publish

Collaborators

  • avatar