Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.141/page_editor/plugins/convert-to-page-template-modal/components/FormField",["module","exports","require","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=a.FormField=void 0;var r=_interopRequireDefault(t("@frontend-taglib-clay$clayui/icon")),l=_interopRequireDefault(t("liferay!frontend-js-react-web$classnames")),n=(_interopRequireDefault(t("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(t("liferay!frontend-js-react-web$react")));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const FormField=({children:e,error:a,id:t,name:o})=>{const i=null!=a;return n.default.createElement("div",{className:(0,l.default)({"form-group":!0,"has-error":i})},n.default.createElement("label",{htmlFor:t},o,n.default.createElement("span",{className:"reference-mark"},n.default.createElement(r.default,{symbol:"asterisk"}))),e,i&&n.default.createElement("div",{className:"form-feedback-item"},n.default.createElement("span",{className:"form-feedback-indicator mr-1"},n.default.createElement(r.default,{symbol:"exclamation-full"})),a))};a.FormField=FormField;var o=FormField;a.default=o}}));
//# sourceMappingURL=FormField.js.map