UNPKG

insight-tcr

Version:

A blockchain explorer for Bitcore

40 lines (30 loc) 711 B
import { ViewEncapsulation } from "@angular/compiler/src/core"; import { Component, Input, OnInit } from "@angular/core"; export enum CardItemType { forward = 'forward', back = 'back', expandCollapse = 'expand-collapse', none = 'none' } @Component({ selector: 'app-card-item', templateUrl: './card-item.component.html', styleUrls: ['./card-item.component.scss'] }) export class CardItemComponent implements OnInit { CardItemType = CardItemType; @Input() header = ''; @Input() headerEquivalent = ''; @Input() headerCount = ''; @Input() headerSum = ''; @Input() type: CardItemType = CardItemType.none; @Input() isOpen = false; constructor() {} ngOnInit() {} }