3.0.0 • Published 4 years ago

oye-avatar v3.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

oye-avatar

Now use avatar in just one click

NPM JavaScript Style Guide

A Simple react component for Avatar

Example

Available Scripts

In the project directory, you can run:

react-horizontal-strip-datepicker

Install

npm install --save oye-avatar

Usage

import React from 'react'
import ReactDOM from 'react-dom'
import OyeAvatar from 'oye-avatar'
import 'oye-avatar/dist/index.css'

ReactDOM.render(
  <React.StrictMode>
    <OyeAvatar
      name='John'
      gender='male'
      width='200'
      shape='circle'
      background='blue'
      onhover='shine'
      className='__any__class'
    />
  </React.StrictMode>,
  document.getElementById('root')
)

Available Props are

PropTypeDefault
namestringavatar
genderstringmale
widthnumber200
shapestringsquare
backgroundstring#fff
onhoverstringshine
classNamestring""

License

MIT © Shavron

3.0.0

4 years ago

2.1.2

4 years ago

2.2.0

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago