File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ import { BaseModal } from "./base-modal.class";
4848@Component ( {
4949 selector : "ibm-alert-modal" ,
5050 template : `
51- <ibm-modal [modalType ]="modalType" [modalLabel]="modalTitle">
51+ <ibm-modal [theme ]="modalType" [modalLabel]="modalTitle">
5252 <ibm-modal-header (closeSelect)="closeModal()">
5353 <p class="bx--modal-header__label bx--type-delta">{{modalLabel}}</p>
5454 <p class="bx--modal-header__heading bx--type-beta">{{modalTitle}}</p>
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { I18n } from "./../i18n/i18n.module";
99/**
1010 * ***Inputs***
1111 * ```html
12- * <ibm-modal-header [modalType]="default" >Header text</ibm-modal-header>
12+ * <ibm-modal-header>Header text</ibm-modal-header>
1313 * ```
1414 *
1515 * ***Outputs***
@@ -23,7 +23,7 @@ import { I18n } from "./../i18n/i18n.module";
2323@Component ( {
2424 selector : "ibm-modal-header" ,
2525 template : `
26- <header class="{{modalType }} bx--modal-header">
26+ <header class="{{theme }} bx--modal-header">
2727 <div class="bx--modal-header">
2828 <ng-content></ng-content>
2929 </div>
@@ -54,7 +54,7 @@ export class ModalHeader {
5454 * @type {"default" | "warning" | "error" }
5555 * @memberof ModalHeader
5656 */
57- @Input ( ) modalType = "default" ;
57+ @Input ( ) theme = "default" ;
5858 /**
5959 * Accessible label for the header close button.
6060 * Defaults to the `MODAL.CLOSE` value from the i18n service.
Original file line number Diff line number Diff line change 66} from "@angular/core" ;
77
88import { NotificationService } from "./notification.service" ;
9- import { NotificationContent } from "./notification-content.interface" ;
9+ import { NotificationContent , ToastContent } from "./notification-content.interface" ;
1010import { Notification } from "./notification.component" ;
1111
1212/**
@@ -49,7 +49,7 @@ export class Toast extends Notification implements OnInit {
4949 * `message` is message for notification to display
5050 *
5151 */
52- @Input ( ) notificationObj : NotificationContent ;
52+ @Input ( ) notificationObj : ToastContent ;
5353
5454 @HostBinding ( "attr.id" ) toastID = "notification" ;
5555 @HostBinding ( "class.bx--toast-notification" ) toastClass = true ;
You can’t perform that action at this time.
0 commit comments