16 lines
585 B
TypeScript
16 lines
585 B
TypeScript
// src/app/components/loading-spinner.component.ts
|
|
import { Component } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
@Component({
|
|
selector: 'app-loading-spinner',
|
|
standalone: true,
|
|
imports: [CommonModule],
|
|
template: `
|
|
<div class="flex items-center justify-center space-x-2">
|
|
<div class="h-8 w-8 rounded-full border-4 border-t-blue-500 border-b-blue-700 border-l-blue-600 border-r-transparent animate-spin"></div>
|
|
<div class="text-white text-xl font-medium">Please Wait...</div>
|
|
</div>
|
|
`
|
|
})
|
|
export class LoadingSpinnerComponent {} |