mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 05:13:02 -05:00
feat(doc): move permissions
This commit is contained in:
13
apps/angular/permissions/src/app/button.component.ts
Normal file
13
apps/angular/permissions/src/app/button.component.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* eslint-disable @angular-eslint/component-selector */
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: 'button[app-button]',
|
||||
template: `<ng-content></ng-content>`,
|
||||
host: {
|
||||
class: 'border border-blue-700 bg-blue-400 p-2 rounded-sm text-white',
|
||||
},
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class ButtonComponent {}
|
||||
Reference in New Issue
Block a user