0.0.5 • Published 3 years ago

@adorable-avatar/angular v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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>