@time-with/avatar-thumb

1.1.0 • Public • Published

AvatarThumb

Circular profile image with initials fallback

Install

$ npm install @time-with/avatar-thumb
or
$ yarn add @time-with/avatar-thumb

Usage

Add the Component to the root Router of your React layout

import AvatarThumb from '@time-with/avatar-thumb'

render() {
  return (
    <div>
      <AvatarThumb
        src={ src }
        firstName={ firstName }
        lastName={ lastName }
        bgColor={ bgColor }
        radius={ radius }
        fontSize={ fontSize }
        color={ color }
        style={ avatarStyle }
      />

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @time-with/avatar-thumb

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

11.4 kB

Total Files

6

Last publish

Collaborators

  • agouil
  • antoniobrandao