@devneser/gradient-avatar
v1.1.1
Published
Made with create-react-library
Downloads
51
Maintainers
Readme
gradient-avatar
Made with create-react-library
Install
npm install --save gradient-avatar
Usage
Props
address: string
primary: string (default: #521E8A)
secondary: string (default: #1DBF8E)
size: number (default: 30)
Example
import React from 'react'
import Avatar from 'gradient-avatar'
const Example = () => {
render() {
return <Avatar address="0xABCDEF" />
}
}
License
MIT © devneser