Skip to content

Instantly share code, notes, and snippets.

@buildmotion
Created March 22, 2018 04:09
Show Gist options
  • Save buildmotion/118e59ee7c82d9345bb875bfa9c06865 to your computer and use it in GitHub Desktop.
Save buildmotion/118e59ee7c82d9345bb875bfa9c06865 to your computer and use it in GitHub Desktop.
import { Component, Input, OnInit } from '@angular/core';
import {NgbModal, NgbActiveModal} from '@ng-bootstrap/ng-bootstrap';
@Component({
selector: 'app-modal',
templateUrl: './modal.component.html',
styleUrls: ['./modal.component.css']
})
export class ModalComponent implements OnInit {
@Input() title = `Information`;
constructor(
public activeModal: NgbActiveModal
) {}
ngOnInit() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment