Liferay.Loader.define("layout-template-admin-web@2.0.75/js/modal/FormField.es",["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,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=a.FormField=void 0;var t=d(r("@frontend-taglib-clay$clayui/icon")),l=d(r("liferay!frontend-js-react-web$classnames")),n=(d(r("liferay!frontend-js-react-web$prop-types")),d(r("liferay!frontend-js-react-web$react")));function d(e){return e&&e.__esModule?e:{default:e}}const e=({children:e,error:a,id:r,name:d})=>{const o=null!=a;return n.default.createElement("div",{className:(0,l.default)({"form-group":!0,"has-error":o})},n.default.createElement("label",{htmlFor:r},d,n.default.createElement("span",{className:"reference-mark"},n.default.createElement(t.default,{symbol:"asterisk"}))),e,o&&n.default.createElement("div",{className:"form-feedback-item"},n.default.createElement("span",{className:"form-feedback-indicator mr-1"},n.default.createElement(t.default,{symbol:"exclamation-full"})),a))};a.FormField=e;var o=e;a.default=o}}));
//# sourceMappingURL=FormField.es.js.map