"use strict";
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var React = require("react");
var index_1 = require("../../../../index");
var LinkBasicExample = (function (_super) {
    __extends(LinkBasicExample, _super);
    function LinkBasicExample() {
        return _super.apply(this, arguments) || this;
    }
    LinkBasicExample.prototype.render = function () {
        return (React.createElement("div", null,
            React.createElement("span", null, "When a link has an href, "),
            React.createElement(index_1.Link, { href: 'http://dev.office.com/fabric/components/link' }, "it renders as an anchor tag."),
            React.createElement("span", null, " Without an href, "),
            React.createElement(index_1.Link, null, "the link is rendered as a button"),
            ".",
            React.createElement("span", null, " You can also use the disabled attribute to create a "),
            React.createElement(index_1.Link, { disabled: true, href: 'http://dev.office.com/fabric/components/link' }, "disabled link"),
            "."));
    };
    return LinkBasicExample;
}(React.Component));
exports.LinkBasicExample = LinkBasicExample;

//# sourceMappingURL=Link.Basic.Example.js.map
