"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
var jsx_runtime_1 = require("react/jsx-runtime");
function EditRow(_a) {
    var label = _a.label, description = _a.description, children = _a.children, style = _a.style;
    return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: __assign({ marginBottom: "20px" }, style) }, { children: [(0, jsx_runtime_1.jsx)("h4", { children: label }), description == null ? (children) : ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { width: "100%" } }, { children: [children, (0, jsx_runtime_1.jsx)("div", __assign({ style: { color: "#666", fontSize: "10pt", marginTop: "10px" } }, { children: description }))] })))] })));
}
exports.default = EditRow;
//# sourceMappingURL=edit-row.js.map