@novaviva/react-native-jazzicon
React Native Jazzicon
Last updated 8 months ago by novaviva .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @novaviva/react-native-jazzicon 
SYNC missed versions from official npm registry.

React Native Jazzicon

NPM version

React Native component for jazzicon

Installation

  $ yarn add @novaviva/react-native-jazzicon
  $ react-native link react-native-svg

Usage

With numeric seed:

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

License

The MIT License

Current Tags

  • 0.1.3                                ...           latest (8 months ago)

3 Versions

  • 0.1.3                                ...           8 months ago
  • 0.0.2                                ...           8 months ago
  • 0.0.1                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |