import React from "react"; import { CreditAmount } from "component/common"; import { Form, FormRow, Submit } from "component/form.js"; class UserEmailNew extends React.PureComponent { constructor(props) { super(props); this.state = { email: "", }; } handleEmailChanged(event) { this.setState({ email: event.target.value, }); } handleSubmit() { const { email } = this.state; this.props.addUserEmail(email); } render() { const { cancelButton, errorMessage, isPending, rewardAmount } = this.props; return (

Let us know your email and you'll receive{" "} , the blockchain token used by LBRY.

{__( "We'll also let you know about LBRY updates, security issues, and great new content." )}

{__("We'll never sell your email, and you can unsubscribe at any time.")}

{ this.handleEmailChanged(event); }} />
{cancelButton}
); } } export default UserEmailNew;