react-native-jazzicon
React Native Jazzicon
Last updated 2 years ago by staszek .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-native-jazzicon 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.2                                ...           latest (2 years ago)

1 Versions

  • 0.1.2                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |