"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var styled_components_1 = __importDefault(require("styled-components"));
var _1 = require("./");
var styleConstants_1 = require("./styleConstants");
var Wrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  display: inline-block;\n  margin-bottom: 16px;\n"], ["\n  display: inline-block;\n  margin-bottom: 16px;\n"])));
var Box = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n  display: flex;\n  position: relative;\n  top: 4px;\n  margin-top: -4px;\n  align-items: center\n  font-family: ", ";\n  padding: 8px 12px 4px 8px;\n  border: 1px solid #dddddd;\n  word-break: break-word;\n\n  img {\n    position: relative;\n    top: -2px;\n    margin-right: 12px;\n  }\n"], ["\n  display: flex;\n  position: relative;\n  top: 4px;\n  margin-top: -4px;\n  align-items: center\n  font-family: ", ";\n  padding: 8px 12px 4px 8px;\n  border: 1px solid #dddddd;\n  word-break: break-word;\n\n  img {\n    position: relative;\n    top: -2px;\n    margin-right: 12px;\n  }\n"])), styleConstants_1.fonts.MONOSPACE);
var AddressWithMetaMaskIcon = /** @class */ (function (_super) {
    __extends(AddressWithMetaMaskIcon, _super);
    function AddressWithMetaMaskIcon() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    AddressWithMetaMaskIcon.prototype.render = function () {
        return (React.createElement(Wrapper, null,
            React.createElement(Box, null,
                React.createElement(_1.MetaMaskFrontIcon, null),
                this.props.address)));
    };
    return AddressWithMetaMaskIcon;
}(React.Component));
exports.AddressWithMetaMaskIcon = AddressWithMetaMaskIcon;
var templateObject_1, templateObject_2;
//# sourceMappingURL=AddressWithMetaMaskIcon.js.map