1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 05:12:18 +01:00
metamask-extension/ui/app/pages/add-token/token-list/token-list-placeholder/token-list-placeholder.component.js

28 lines
723 B
JavaScript
Raw Normal View History

2018-05-20 08:04:19 +02:00
import React, { Component } from 'react'
import PropTypes from 'prop-types'
export default class TokenListPlaceholder extends Component {
static contextTypes = {
t: PropTypes.func,
}
render () {
return (
<div className="token-list-placeholder">
<img src="images/tokensearch.svg" />
<div className="token-list-placeholder__text">
{ this.context.t('addAcquiredTokens') }
</div>
<a
className="token-list-placeholder__link"
2018-10-11 18:06:24 +02:00
href="https://metamask.zendesk.com/hc/en-us/articles/360015489031"
2018-05-20 08:04:19 +02:00
target="_blank"
rel="noopener noreferrer"
>
{ this.context.t('learnMore') }
</a>
</div>
)
}
}