Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 623 Bytes

File metadata and controls

25 lines (17 loc) · 623 Bytes

Avatar

Display avatar image. Falls back to initial.

Installation

npm install --save @app-elements/avatar

Usage

import Avatar from '@app-elements/avatar'

<Avatar
  src='path to your image'
  fullName='John Smith'
 />

Props

Prop Type Default Description
className String '' className given to top-level avatar-wrap div.
size Number '100' based on percent. sets relative size of avatar.