define(["require", "exports", "tslib", "react", "@uifabric/experiments", "@uifabric/example-data", "office-ui-fabric-react"], function (require, exports, tslib_1, React, experiments_1, example_data_1, office_ui_fabric_react_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var text = example_data_1.lorem(4);
    var SignalFieldBasicExample = /** @class */ (function (_super) {
        tslib_1.__extends(SignalFieldBasicExample, _super);
        function SignalFieldBasicExample(props) {
            var _this = _super.call(this, props) || this;
            _this._onModeChange = function (event, checked) {
                _this.setState({
                    mode: checked ? 'wide' : 'compact',
                });
            };
            _this.state = {
                mode: 'compact',
            };
            return _this;
        }
        SignalFieldBasicExample.prototype.render = function () {
            return (React.createElement("div", null,
                React.createElement(office_ui_fabric_react_1.Checkbox, { label: "Wide?", onChange: this._onModeChange, checked: this.state.mode === 'wide' }),
                React.createElement(experiments_1.SignalField, { signalsFieldMode: this.state.mode, before: [React.createElement(experiments_1.YouCheckedOutSignal, { key: "a" })], after: [React.createElement(experiments_1.AwaitingApprovalSignal, { key: "b" })] }, text)));
        };
        return SignalFieldBasicExample;
    }(React.Component));
    exports.SignalFieldBasicExample = SignalFieldBasicExample;
});
//# sourceMappingURL=SignalField.Basic.Example.js.map