/* 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, StyledBatLogo, StyledTitle, StyledSubTitle, StyledText, StyledServiceText, StyledArrowIcon, StyledButtonWrapper, StyledServiceLink } from './style' import { RewardsButton } from '../' import { ArrowRightIcon, BatColorIcon } from '../../../components/icons' import { getLocale } from '../../../helpers' export interface Props { onEnable: () => void onTOSClick: () => void onPrivacyClick: () => void } export default class WalletPanelDisabled extends React.PureComponent { render () { const { onEnable, onTOSClick, onPrivacyClick } = this.props return ( {getLocale('welcomeBack')} {getLocale('braveRewardsSubTitle')} {getLocale('disabledPanelTextTwo')} } /> {getLocale('serviceText')} {getLocale('termsOfService')} {getLocale('and')} {getLocale('privacyPolicy')}. ) } }