react-native-jazzicon-custom-colors
React Native Jazzicon
Last updated a year ago by tosite .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-native-jazzicon-custom-colors 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.3                                ...           latest (a year ago)

3 Versions

  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (2)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |