"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var ObjectFieldTemplate = function (props) {
    var TitleField = props.TitleField, DescriptionField = props.DescriptionField;
    return (React.createElement("fieldset", null,
        props.schema.title && (props.uiSchema['ui:title'] || props.title) && (React.createElement(TitleField, { id: props.idSchema.$id + "__title", title: props.title || props.uiSchema['ui:title'], required: props.required })),
        props.description && (React.createElement(DescriptionField, { id: props.idSchema.$id + "__description", description: props.description })),
        props.properties.map(function (prop) { return prop.content; })));
};
exports.default = ObjectFieldTemplate;
