Renamed files
This commit is contained in:
committed by
Nicolò Ribaudo
parent
07e69c009b
commit
0f42accb87
@@ -0,0 +1,14 @@
|
||||
class AnchorLink extends Component {
|
||||
render() {
|
||||
const _props = this.props,
|
||||
isExternal = _props.isExternal,
|
||||
children = _props.children;
|
||||
|
||||
if (isExternal) {
|
||||
return <a>{children}</a>;
|
||||
}
|
||||
|
||||
return <Link>{children}</Link>;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user