import { Component , Inject } from '@angular/core' ; import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus' ; import { TuiDialogContext } from '@taiga-ui/core' ; @ Component ( { selector : 'app-total-supply-overflow-error' , templateUrl : './total-supply-overflow-error.component.html' , styleUrls : [ './total-supply-overflow-error.component.scss' ] } ) export class TotalSupplyOverflowErrorComponent { public readonly tokenSymbol : string ; public readonly totalSupply : string ; constructor ( @ Inject ( POLYMORPHEUS_CONTEXT ) private readonly context ) { this . tokenSymbol = context . data . tokenSymbol ; this . totalSupply = context . data . totalSupply ; } }