mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-23 09:30:38 +00:00
e7633c6d2f
* Replace all mentions of MyEtherWallet in translations with MyCrypto * Replace all translation mentions of kvhnuke/etherwallet repo with MyCryptoHQ/MyCrypto repo. * Replace all instances of MEW with MyCrypto in translations. * Replace all instances of myetherwallet.com with mycrypto.com * First pass of myetherwallet -> mycrypto in codebase. * Replace most MEWs and mews with MyCrypto or MyC or myc * Update all assets, clean out unused old assets. * Adjust v3 url * Convert all links to help articles to a help link component to make future changes easier. * Rework onboarding images * Adjust logo colors due to CMY issue. * Update donation address, remove mentions of mewtopia.eth * Update license * Update sosh meed and referral links. * Fix more translations strings. * Tscheck fix. * Update shapeshift api key.
17 lines
477 B
TypeScript
17 lines
477 B
TypeScript
import React from 'react';
|
|
import NewTabLink, { AAttributes } from './NewTabLink';
|
|
import { HELP_ARTICLE, knowledgeBaseURL } from 'config';
|
|
|
|
interface Props {
|
|
article?: HELP_ARTICLE;
|
|
children?: string | React.ReactElement<string>;
|
|
}
|
|
|
|
const HelpLink: React.SFC<AAttributes & Props> = ({ article, children, ...rest }) => (
|
|
<NewTabLink {...rest} href={`${knowledgeBaseURL}/${article}`} onClick={this.handleClick}>
|
|
{children}
|
|
</NewTabLink>
|
|
);
|
|
|
|
export default HelpLink;
|