import React from "react"; import Link from "component/link"; import { FormRow } from "component/form"; class TipLink extends React.PureComponent { constructor(props) { super(props); this.state = { tipAmount: "1.00", }; } handleSendButtonClicked() { let claim_id = this.props.claim_id; let amount = this.state.tipAmount; this.props.sendSupport(amount, claim_id); this.props.onTipHide(); } handleSupportCancelButtonClicked() { this.props.onTipHide(); } handleSupportPriceChange(event) { this.setState({ tipAmount: event.target.value, }); } render() { return (