Liferay.Loader.define("fragment-web@4.0.70/js/FormField",["module","exports","require","@frontend-taglib-clay$clayui/form","@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,r,t){window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function FormField({children:e,error:r,id:t,name:o,required:i=!1}){const u=Boolean(r);return f.default.createElement(a.default.Group,{className:(0,n.default)({"has-error":u})},f.default.createElement("label",{htmlFor:t},o,i&&f.default.createElement(l.default,{className:"reference-mark",symbol:"asterisk"})),e,u&&f.default.createElement(a.default.FeedbackGroup,{role:"alert"},f.default.createElement(a.default.FeedbackItem,null,r)))};var a=_interopRequireDefault(t("@frontend-taglib-clay$clayui/form")),l=_interopRequireDefault(t("@frontend-taglib-clay$clayui/icon")),n=_interopRequireDefault(t("liferay!frontend-js-react-web$classnames")),f=(_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}}}}));
//# sourceMappingURL=FormField.js.map