1.1.0 • Published 5 years ago

@time-with/avatar-thumb v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

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

1.1.0

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago