Last active
February 23, 2021 11:02
-
-
Save Bilkiss/df639683e840555bbe930c44e340c113 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<example-component | |
[exampleProperty]="exampleData"> | |
</example-component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, Input } from '@angular/core'; | |
@Component({ | |
selector: 'example-component', | |
template: '<div>Hello world! I'm an example component!</div>' | |
}) | |
export class ExampleComponent { | |
@Input() | |
exampleProperty: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment