Jordan Jones 1742035a98 [7.0] Fixes #5108, browser.js and browser.js test removed (#5124)
* Fixes #5108, browser.js and browser.js test removed

* Moved api/node.js to index.js and adjusted associated file references
2017-01-19 22:43:11 -05:00

13 lines
262 B
JavaScript

class AnchorLink extends Component {
render() {
var _props = this.props;
const isExternal = _props.isExternal,
children = _props.children;
if (isExternal) {
return <a>{children}</a>;
}
return <Link>{children}</Link>;
}
}