diff --git a/js/component/link.js b/js/component/link.js
index b38b308e3..8162d70c1 100644
--- a/js/component/link.js
+++ b/js/component/link.js
@@ -1,8 +1,30 @@
+var Link = React.createClass({
+ handleClick: function() {
+ if (this.props.onClick) {
+ this.props.onClick();
+ }
+ },
+ render: function() {
+ var href = this.props.href ? this.props.href : 'javascript:;',
+ icon = this.props.icon ? : '',
+ className = (this.props.button ? 'button-block button-' + this.props.button : 'button-text') +
+ (this.props.hidden ? ' hidden' : '') + (this.props.disabled ? ' disabled' : '') + ' ' + this.props.className;
+
+ return (
+
+ {this.props.icon ? icon : '' }
+ {this.props.label}
+
+ );
+ }
+});
+
var linkContainerStyle = {
position: 'relative',
};
-var Link = React.createClass({
+var ToolTipLink = React.createClass({
getInitialState: function() {
return {
showTooltip: false,
@@ -47,6 +69,7 @@ var Link = React.createClass({
}
});
+
var ReturnLink = React.createClass({
render: function() {
return
Featured Content
-
Community Content
+ Community Content