17 lines
304 B
TypeScript
17 lines
304 B
TypeScript
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-like-button',
|
|
imports: [],
|
|
template: `
|
|
<p>
|
|
like-button works!
|
|
</p>
|
|
`,
|
|
styleUrl: './like-button.css',
|
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
})
|
|
export class LikeButton {
|
|
|
|
}
|