"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var RunButton = /** @class */ (function (_super) {
    __extends(RunButton, _super);
    function RunButton(props) {
        return _super.call(this, props) || this;
    }
    RunButton.prototype.render = function () {
        return React.createElement("div", { className: "runButton" },
            React.createElement("button", { onClick: this.props.handleClick },
                React.createElement("span", { className: "fa " + (this.props.running ? 'fa-stop' : 'fa-play') })));
    };
    return RunButton;
}(React.Component));
exports.default = RunButton;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUnVuQnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NvbXBvbmVudHMvUnVuQnV0dG9uLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDZCQUErQjtBQVUvQjtJQUF1Qyw2QkFBK0M7SUFDcEYsbUJBQVksS0FBSztlQUNmLGtCQUFNLEtBQUssQ0FBQztJQUNkLENBQUM7SUFFRCwwQkFBTSxHQUFOO1FBQ0UsT0FBTyw2QkFBSyxTQUFTLEVBQUMsV0FBVztZQUMvQixnQ0FBUSxPQUFPLEVBQUUsSUFBSSxDQUFDLEtBQUssQ0FBQyxXQUFXO2dCQUNuQyw4QkFBTSxTQUFTLEVBQUUsU0FBTSxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQUUsR0FBUyxDQUN2RSxDQUNMLENBQUM7SUFDVCxDQUFDO0lBQ0gsZ0JBQUM7QUFBRCxDQUFDLEFBWkQsQ0FBdUMsS0FBSyxDQUFDLFNBQVMsR0FZckQifQ==