1.0.2 • Published 2 years ago
react-avatar-fractal v1.0.2
react-avatar-fractal
Generates fractal from string(user name, email, nickname, etc..) that can be used as avatar
Install
npm install --save react-avatar-fractal
Usage
import AvatarFractal from 'react-avatar-fractal'
function Example {
return (
<AvatarFractal value="Arnold Schwarzenegger" size={200} />
)
}
Props
Name | Type | Description |
---|---|---|
value | String | Required. Any name/email/nickname. |
size | Number | Size of avatar in px. |
scale | Number | Scale of fractal (0.45 default) |
License
MIT © dikhtenkott