react-just-avatar

A simple React avatar component to display either their avatars or their initials

Usage no npm install needed!

<script type="module">
  import reactJustAvatar from 'https://cdn.skypack.dev/react-just-avatar';
</script>

README

react-just-avatar

A simple React avatar component to display either their avatars or their initials

NPM JavaScript Style Guide

Install

npm install --save react-just-avatar

Usage

import React, { Component } from 'react'

import Avatar from 'react-just-avatar'
import 'react-just-avatar/dist/index.css'

class Example extends Component {
  render() {
    return <Avatar />
  }
}

License

MIT © desduvauchelle

Notes to self

To publish:

npm publish