@adorable-avatar/angular
v0.0.5
Published
Adorable Avatar Angular component
Downloads
19
Maintainers
Readme
How to use it in Angular
This is an example to use adorable-avatar with Angular
1. Install the package
$ npm install @adorable-avatar/angular --save
2. Import the module
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { AdorableAvatarModule } from '@adorable-avatar/angular';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AdorableAvatarModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
3. Use it!
<adorable-avatar name="bipoza" shape="round"></adorable-avatar>