Ionic Custom Modal Confirmation Component

Create the component

Import the component

// src/app/some.page.ts
import { ModalConfirmationComponent } from './components/modal-confirmation.component';
@Component({
    ...
    imports: [ModalConfirmationComponent]
})

Call the component

title - leave blank to omit entire header section.

<nk-modal-confirmation title="Modal Title" />

Pass data to components

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

export class MyCustomComponent {

    @Input() myProperty?: String;

}
<nk-header-create myProperty="value" (runCreate)="create($event)" />

import { Component, Input, Output, EventEmitter } from '@angular/core';

Questions

How Can I inject a child component for the modal content?