react-native-jazzicon-custom-colors
v0.0.3
Published
React Native Jazzicon
Downloads
1
Readme
react-native-jazzicon-custom-colors
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