mirror of https://github.com/abpframework/abp.git
4 changed files with 5 additions and 23 deletions
@ -1,15 +0,0 @@ |
|||
import {Component, Inject } from '@angular/core'; |
|||
import {FORM_PROP_DATA_STREAM, FormProp} from "@abp/ng.theme.shared/extensions"; |
|||
|
|||
@Component({ |
|||
selector: 'abp-hello', |
|||
template: `<p>hello works! {{name | abpLocalization}}</p>`, |
|||
styles: [], |
|||
}) |
|||
export class HelloComponent { |
|||
name:string; |
|||
constructor(@Inject(FORM_PROP_DATA_STREAM) private propData:FormProp) { |
|||
this.name = propData.displayName |
|||
} |
|||
|
|||
} |
|||
Loading…
Reference in new issue