From fd2cd9c383b07cd681c18137396deae025d98047 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 3 Jan 2018 14:42:06 +0100 Subject: fix lint issues and separate message types into multiple files --- src/webex/renderHtml.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/webex/renderHtml.tsx') diff --git a/src/webex/renderHtml.tsx b/src/webex/renderHtml.tsx index d225cef0c..2e21932b0 100644 --- a/src/webex/renderHtml.tsx +++ b/src/webex/renderHtml.tsx @@ -24,12 +24,16 @@ /** * Imports. */ +import { AmountJson } from "../amounts"; +import * as Amounts from "../amounts"; + import { - AmountJson, - Amounts, DenominationRecord, +} from "../dbTypes"; +import { ReserveCreationInfo, -} from "../types"; +} from "../walletTypes"; + import { ImplicitStateComponent } from "./components"; @@ -239,7 +243,9 @@ function FeeDetailsView(props: {rci: ReserveCreationInfo|null}): JSX.Element { ); } - +/** + * Shows details about a withdraw request. + */ export function WithdrawDetailView(props: {rci: ReserveCreationInfo | null}): JSX.Element { const rci = props.rci; return ( @@ -259,6 +265,9 @@ interface ExpanderTextProps { text: string; } +/** + * Show a heading with a toggle to show/hide the expandable content. + */ export class ExpanderText extends ImplicitStateComponent { private expanded = this.makeState(false); private textArea: any = undefined; -- cgit v1.2.3