Package Exports
- @devneser/gradient-avatar
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@devneser/gradient-avatar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gradient-avatar
Made with create-react-library
Install
npm install --save gradient-avatarUsage
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