import { ChangeDetectionStrategy, Component, inject } from '@angular/core';

import { MODAL_DATA, QrModalData } from '../../../core/services/modal.service';
import { QRCodeComponent } from '../qrcode/qrcode.component';

@Component({
  selector: 'app-qr-modal',
  imports: [QRCodeComponent],
  templateUrl: './qr-modal.component.html',
  styleUrl: './qr-modal.component.scss',
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class QrModalComponent {
  protected readonly data = inject<QrModalData>(MODAL_DATA);
}
