0.0.2 • Published 5 years ago

react-hash-avatar v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

react-hash-avatar Build Status

React hash avatar algorithm

Install

$ yarn add react-hash-avatar

Usage

import ReactHashAvatar from 'react-hash-avatar'

export default () => <ReactHashAvatar name="unique-name" width="30px" height="30px" />

API

Props

name

Type: string Required

Unique name

height

Type: string Required

The component height

width

Type: string Required

The component width

radius

Type: string Default: 0

The component radius

Demo

npm.io

Related

License

MIT © Bu Kinoshita

Thanks to rauchg