Generates fractal from string(user name, email, nickname, etc..) that can be used as avatar
npm install --save react-avatar-fractal
import AvatarFractal from 'react-avatar-fractal'
function Example {
return (
<AvatarFractal value="Arnold Schwarzenegger" size={200} />
)
}
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) |
MIT © dikhtenkott