2021-02-04 19:15:23 +01:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import Button from '../../../../components/ui/button';
|
2022-03-25 18:59:22 +01:00
|
|
|
import IconSearch from '../../../../components/ui/icon/icon-token-search';
|
2018-05-20 08:04:19 +02:00
|
|
|
|
|
|
|
export default class TokenListPlaceholder extends Component {
|
|
|
|
static contextTypes = {
|
|
|
|
t: PropTypes.func,
|
2021-02-04 19:15:23 +01:00
|
|
|
};
|
2018-05-20 08:04:19 +02:00
|
|
|
|
2020-11-03 00:41:28 +01:00
|
|
|
render() {
|
2018-05-20 08:04:19 +02:00
|
|
|
return (
|
|
|
|
<div className="token-list-placeholder">
|
2022-03-25 18:59:22 +01:00
|
|
|
<IconSearch size="64" color="var(--color-icon-muted)" />
|
2018-05-20 08:04:19 +02:00
|
|
|
<div className="token-list-placeholder__text">
|
2020-11-03 00:41:28 +01:00
|
|
|
{this.context.t('addAcquiredTokens')}
|
2018-05-20 08:04:19 +02:00
|
|
|
</div>
|
2020-08-19 18:41:56 +02:00
|
|
|
<Button
|
|
|
|
type="link"
|
2018-05-20 08:04:19 +02:00
|
|
|
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"
|
|
|
|
>
|
2020-11-03 00:41:28 +01:00
|
|
|
{this.context.t('learnMore')}
|
2020-08-19 18:41:56 +02:00
|
|
|
</Button>
|
2018-05-20 08:04:19 +02:00
|
|
|
</div>
|
2021-02-04 19:15:23 +01:00
|
|
|
);
|
2018-05-20 08:04:19 +02:00
|
|
|
}
|
|
|
|
}
|