// @flow import * as ICONS from 'constants/icons'; import React, { Fragment } from 'react'; import Button from 'component/button'; import CardVerify from 'component/cardVerify'; import { Lbryio } from 'lbryinc'; import Card from 'component/common/card'; import I18nMessage from 'component/i18nMessage'; type Props = { errorMessage: ?string, isPending: boolean, verifyUserIdentity: string => void, verifyPhone: () => void, fetchUser: () => void, skipLink?: string, onSkip: () => void, }; class UserVerify extends React.PureComponent { constructor() { super(); (this: any).onToken = this.onToken.bind(this); } onToken(data: { id: string }) { this.props.verifyUserIdentity(data.id); } render() { const { errorMessage, isPending, verifyPhone, fetchUser, onSkip } = this.props; const skipButtonProps = { onClick: onSkip, }; return (

{__('Rewards Validation')}

), }} > If you'd like to participate our %rewards_program% to earn credits, please complete one of the steps below to be validated. {' '}

); } } export default UserVerify;