Is there a way to add a component in a SweetAlert popup while using Angular 6? I attempted the following method but the component is not rendering:
Swal({
type: 'warning',
title: this.translate.instant('agents'),
text: this.translate.instant('agents_text'),
html: `<simple-table [data]="appointments"
[columns]="appointmentsCols">
</simple-table>`
});
The 'simple-table' mentioned above is a customized table that includes data items and appointments.