mirror of https://github.com/ghostfolio/ghostfolio
5 changed files with 16 additions and 13 deletions
@ -1 +1 @@ |
|||||
export * from './membership-card.module'; |
export * from './membership-card.module'; |
||||
|
@ -1,12 +1,12 @@ |
|||||
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; |
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; |
||||
|
|
||||
@Component({ |
@Component({ |
||||
changeDetection: ChangeDetectionStrategy.OnPush, |
changeDetection: ChangeDetectionStrategy.OnPush, |
||||
selector: 'gf-membership-card', |
selector: 'gf-membership-card', |
||||
styleUrls: ['./membership-card.component.scss'], |
styleUrls: ['./membership-card.component.scss'], |
||||
templateUrl: './membership-card.component.html' |
templateUrl: './membership-card.component.html' |
||||
}) |
}) |
||||
export class MembershipCardComponent { |
export class MembershipCardComponent { |
||||
@Input() public expiresAt: Date; |
@Input() public expiresAt: Date; |
||||
@Input() public name: string; |
@Input() public name: string; |
||||
} |
} |
||||
|
Loading…
Reference in new issue