aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/notifications/notification-inner-content-example.component.ts
blob: fbda8814ae566435cc8d185bb7d04ab6f3e170e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { Component, Input } from "@angular/core";

@Component({
    selector: "innernotif-content",
    template: `
        <div>
            <h4>Custom Notification</h4>
            <div>
                <span>{{notifyTitle}}</span>
            </div>
            <div>
                <span>{{notifyText}}</span>
            </div>
        </div>
`
})

export class InnerNotifContent {

    @Input() notifyTitle: string;
    @Input() notifyText: string;
}