import { Component , Input } from '@angular/core' ; import { MessageSignResponse } from '@airgap/coinlib-core' ; @ Component ( { selector : 'airgap-message-sign-response' , templateUrl : './message-sign-response.component.html' , styleUrls : [ './message-sign-response.component.scss' ] } ) export class MessageSignResponseComponent { @ Input ( ) public messageSignResponse : MessageSignResponse ; public displayRawData : boolean = false ; constructor ( ) { } public toggleDisplayRawData ( ) { this . displayRawData = ! this . displayRawData ; } }