@hlpupo/ng2-google-letter-avatar
Version:
Create avatar as google letter avatar
42 lines (25 loc) • 899 B
Markdown
# Ng2GoogleLetterAvatar V 1.0.0

```bash
install npm install --save ng2-google-letter-avatar
```
The main idea is create one avatar as the same google style using material colors.
## How tu use
```bash
import { LetterAvatarModule } from 'ng2-google-letter-avatar';
```
In your module
```bash
import: [ LetterAvatarModule ]
```
## Implementation
```bash
<ng-google-letter-avatar [firstName]="contact.firstName" [lastName]="contact.lastName" shape="circle"></ng-google-letter-avatar>
<ng-google-letter-avatar firstName="first" lastName="lastName" shape="circle"></ng-google-letter-avatar>
```
## GitHub
[https://github.com/hlpupo/ng2GoogleLetterAvatar](https://github.com/hlpupo/ng2GoogleLetterAvatar).
## Autor
[@hlpupo](https://github.com/hlpupo)
## Licence
MIT