mirror of
https://github.com/Lissy93/happy-app.git
synced 2021-05-12 19:52:18 +03:00
16 lines
313 B
TypeScript
16 lines
313 B
TypeScript
import {Component, Input} from "@angular/core";
|
|
import {MatProgressSpinnerModule} from '@angular/material';
|
|
|
|
|
|
@Component({
|
|
selector: "loader",
|
|
templateUrl: "loader.html"
|
|
})
|
|
|
|
export class LoaderComponent {
|
|
@Input() color = 'accent';
|
|
@Input() mode = 'indeterminate';
|
|
@Input() value = 0;
|
|
}
|
|
|