/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ import * as React from 'react' import { StyledWrapper, StyledBox, StyledTitle, StyledValue, StyledText, StyledButtonWrapper } from './style' import { getLocale } from '../../../helpers' import Button from '../../../components/buttonsIndicators/button' export interface Props { id?: string testId?: string onClose: () => void amount: string date: string, isMobile?: boolean } export default class GrantComplete extends React.PureComponent { render () { const { id, testId, onClose, amount, date, isMobile } = this.props return ( {getLocale('newTokenGrant')} {amount} BAT {getLocale('grantExpire')} {date} { !isMobile ? {getLocale('grantDisclaimer')} : null }