import { ExternalLink } from '@automattic/components'; import { Component } from 'react'; import InlineSupportLink from 'calypso/components/inline-support-link'; class Link extends Component { static displayName = 'Link'; constructor( props ) { super( props ); } render() { /* eslint-disable react/jsx-no-target-blank */ return (
{ ! this.props.supportArticleId && ( { this.props.children } ) } { this.props.supportArticleId && ( { this.props.children } ) }
); /* eslint-enable react/jsx-no-target-blank */ } } export default Link;