"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var Toggle_1 = require("@fluentui/react-toggle/lib-commonjs/Toggle");
var Icon_1 = require("office-ui-fabric-react/lib-commonjs/Icon");
var Stack_1 = require("office-ui-fabric-react/lib-commonjs/Stack");
var Tooltip_1 = require("office-ui-fabric-react/lib-commonjs/Tooltip");
var stackTokens = { childrenGap: 10 };
exports.ToggleCustomLabelExample = function () {
    return (React.createElement(Stack_1.Stack, { tokens: stackTokens },
        React.createElement(Toggle_1.Toggle, { label: React.createElement("div", null,
                "Custom label",
                ' ',
                React.createElement(Tooltip_1.TooltipHost, { content: "Info tooltip" },
                    React.createElement(Icon_1.Icon, { iconName: "Info", "aria-label": "Info tooltip" }))), onText: "On", offText: "Off", onChange: _onChange }),
        React.createElement(Toggle_1.Toggle, { label: React.createElement("div", null,
                "Custom inline label",
                ' ',
                React.createElement(Tooltip_1.TooltipHost, { content: "Info tooltip" },
                    React.createElement(Icon_1.Icon, { iconName: "Info", "aria-label": "Info tooltip" }))), inlineLabel: true, onText: "On", offText: "Off", onChange: _onChange })));
};
function _onChange(ev, checked) {
    console.log('toggle is ' + (checked ? 'checked' : 'not checked'));
}
//# sourceMappingURL=Toggle.CustomLabel.Example.js.map