Skip to content

bukinoshita/react-hash-avatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Related

License

MIT © Bu Kinoshita

Thanks to rauchg

About

React hash avatar algorithm

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors