Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Component } from '@angular/core';
- @Component({selector: 'digit',
- styles : [`
- .parent {
- background : #aaa;
- color : #000;
- padding: 10px;
- }
- `],
- template: `
- <div class="parent">
- <h1>Parent Component</h1>
- </div>
- `,
- })
- export class AppComponent {}
Add Comment
Please, Sign In to add comment