Package Exports
- metagon
- metagon/dist/index.js
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 (metagon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
METAGON JS
Embed beautiful METAGONS into your react application.
Installation
Install metagon with npm
npm i metagonOr
yarn add metagonUsage
import Metagon from 'metagon'
function App() {
return <Metagon score={420} seed={0.43231122} />
}View more examples on Stackblitz.
Props
| Parameter | Type | Description |
|---|---|---|
score |
number |
Required. The ethrank.io score of the user (0-1000+) |
seed |
number |
Required. A random number from 0-1 |
bgColor |
string |
A background color to override the one imposed by score |
infinite |
boolean |
Keep drawing, even past the draw limit imposed by score (default: false) |
animated |
boolean |
Animate or render a still image (default: true) |
Credit & License
Developed by Examp. Original copyright to Matei Copot. Per the author's copyright, you are free to use this code for any lawful purpose, however, attribution must be given to the original author, Matei Copot.