import { CommonModule } from "@angular/common";
import { Component, Input } from "@angular/core";
import { FormBuilder, FormGroup, ReactiveFormsModule } from "@angular/forms";
import { NgbActiveModal } from "@ng-bootstrap/ng-bootstrap";
import { HelpersService } from "src/app/cores/services/helpers.service";

@Component({
  selector: "app-alert",
  standalone: true,
  imports: [CommonModule, ReactiveFormsModule],
  templateUrl: "./alert.component.html",
  styleUrls: ["./alert.component.scss"],
})
export class AlertComponent {
  @Input() message: string = "";

  form: FormGroup = {} as FormGroup;

  constructor(
    public activeModal: NgbActiveModal,
    private formBuilder: FormBuilder,
    private helpers: HelpersService
  ) {}
}
