aboutsummaryrefslogtreecommitdiffstats
path: root/stories/ng2-component-lab/components/modal-inner-content-example.component.ts
blob: 1b6bed08ad1cef7e261b65994c19706862f2b127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Component, Input } from "@angular/core";

@Component({
    selector: "inner-content",
    template: `
        <div>
            <sdc-input [label]="'Enter value'" [(value)]="name"> </sdc-input>
            <sdc-input [label]="'Enter value'" [(value)]="name"> </sdc-input>
            <sdc-input [label]="'Enter value'" [(value)]="name"> </sdc-input>
        </div>
`
})
export class ModalInnerContent {

    @Input() name:string;
}