import React from "react"; import Link from "component/link"; import { FormRow } from "component/form"; import UriIndicator from "component/uriIndicator"; class WalletSendTip extends React.PureComponent { constructor(props) { super(props); this.state = { amount: 0.0, }; } handleSendButtonClicked() { const { claim_id, uri } = this.props; let amount = this.state.amount; this.props.sendSupport(amount, claim_id, uri); } handleSupportPriceChange(event) { this.setState({ amount: Number(event.target.value), }); } render() { const { errorMessage, isPending, title, uri } = this.props; return (