"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/* tslint:disable:no-unused-variable */
var React = require("react");
/* tslint:enable:no-unused-variable */
var Button_1 = require("office-ui-fabric-react/lib/Button");
var Link_1 = require("office-ui-fabric-react/lib/Link");
var Label_1 = require("office-ui-fabric-react/lib/Label");
var MessageBar_1 = require("office-ui-fabric-react/lib/MessageBar");
require("./MessageBar.Basic.Example.scss");
var log = function (text) {
    return function () { return console.log(text); };
};
exports.MessageBarBasicExample = function () { return (React.createElement("div", { className: 'ms-BasicMessageBarsExample' },
    React.createElement(Label_1.Label, null, "Info/Default MessageBar"),
    React.createElement(MessageBar_1.MessageBar, null,
        "Info - lorem ipsum dolor sit amet, a elit sem interdum consectetur adipiscing elit. ",
        React.createElement(Link_1.Link, { href: 'www.bing.com' }, "Visit our website")),
    React.createElement(Label_1.Label, null, "Error MessageBar - only dismiss single line"),
    React.createElement(MessageBar_1.MessageBar, { messageBarType: MessageBar_1.MessageBarType.error, isMultiline: false, onDismiss: log('test') },
        "Error - lorem ipsum dolor sit amet, a elit sem interdum consectetur adipiscing elit. ",
        React.createElement(Link_1.Link, { href: 'www.bing.com' }, "Visit our website")),
    React.createElement(Label_1.Label, null, "Blocked MessageBar - single line no buttons"),
    React.createElement(MessageBar_1.MessageBar, { messageBarType: MessageBar_1.MessageBarType.blocked, isMultiline: false, onDismiss: log('test') },
        "Blocked - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi luctus, purus a lobortis tristique, odio augue pharetra metus, ac placerat nunc mi nec dui. Vestibulum aliquam et nunc semper scelerisque. Curabitur vitae orci nec quam condimentum porttitor et sed lacus. Vivamus ac efficitur leo. Cras faucibus mauris libero, ac placerat erat euismod et. Donec pulvinar commodo odio sit amet faucibus. In hac habitasse platea dictumst. Duis eu ante commodo, condimentum nibh pellentesque, laoreet enim. Fusce massa lorem, ultrices eu mi a, fermentum suscipit magna. Integer porta purus pulvinar, hendrerit felis eget, condimentum mauris. ",
        React.createElement(Link_1.Link, { href: 'www.bing.com' }, "Visit our website")),
    React.createElement(Label_1.Label, null, "SevereWarning MessageBar - multiline (default)"),
    React.createElement(MessageBar_1.MessageBar, { messageBarType: MessageBar_1.MessageBarType.severeWarning, actions: React.createElement("div", null,
            React.createElement(Button_1.DefaultButton, null, "Yes"),
            React.createElement(Button_1.DefaultButton, null, "No")) },
        React.createElement("span", null, "SevereWarning - lorem ipsum dolor sit amet, a elit sem interdum consectetur adipiscing elit."),
        React.createElement(Link_1.Link, { href: 'www.bing.com' }, "Visit our website")),
    React.createElement(Label_1.Label, null, "Success MessageBar - single line, short text with buttons"),
    React.createElement(MessageBar_1.MessageBar, { actions: React.createElement("div", null,
            React.createElement(Button_1.DefaultButton, null, "Yes"),
            React.createElement(Button_1.DefaultButton, null, "No")), messageBarType: MessageBar_1.MessageBarType.success, isMultiline: false },
        "Success - Lorem ipsum dolor sit amet ",
        React.createElement(Link_1.Link, { href: 'www.bing.com' }, "Visit our website")),
    React.createElement(Label_1.Label, null, "Warning MessageBar"),
    React.createElement(MessageBar_1.MessageBar, { onDismiss: log('test'), messageBarType: MessageBar_1.MessageBarType.warning, ariaLabel: 'Aria help text here', actions: React.createElement("div", null,
            React.createElement(Button_1.DefaultButton, null, "Yes"),
            React.createElement(Button_1.DefaultButton, null, "No")) },
        "Warning - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi luctus, purus a lobortis tristique, odio augue pharetra metus, ac placerat nunc mi nec dui. Vestibulum aliquam et nunc semper scelerisque. Curabitur vitae orci nec quam condimentum porttitor et sed lacus. Vivamus ac efficitur leo. Cras faucibus mauris libero, ac placerat erat euismod et. Donec pulvinar commodo odio sit amet faucibus. In hac habitasse platea dictumst. Duis eu ante commodo, condimentum nibh pellentesque, laoreet enim. Fusce massa lorem, ultrices eu mi a, fermentum suscipit magna. Integer porta purus pulvinar, hendrerit felis eget, condimentum mauris.",
        React.createElement(Link_1.Link, { href: 'www.bing.com' }, "Visit our website")))); };
//# sourceMappingURL=MessageBar.Basic.Example.js.map