"use strict";const e=require("classnames"),m=require("react"),t="vertical _vertical_52bf6",c="formGroup _formGroup_7d3dc",_="horizontal _horizontal_7ec90",l="formGroupLabel _formGroupLabel_90a3f",u="formGroupError _formGroupError_10978",f="formGroupInfo _formGroupInfo_81dbf",i="formGroupMarginBottom _formGroupMarginBottom_2c421",o={vertical:t,formGroup:c,horizontal:_,formGroupLabel:l,formGroupError:u,formGroupInfo:f,formGroupMarginBottom:i},G={pseudoMarginBottom:o.formGroupMarginBottom},p=({className:r,children:a,orientation:n="vertical",...s})=>m.createElement("form",{className:e(o[n],r),...s},a),d=r=>m.createElement("div",{className:e("formGroup",o.formGroup,r.className,r.hasError?"hasError":void 0)},r.children),v=r=>r.children?m.createElement("span",{className:e("formGroupError",o.formGroupError,r.className)},r.children):null,E=r=>r.children?m.createElement("span",{className:e("formGroupInfo",o.formGroupInfo,r.className)},r.children):null;exports.Form=p;exports.FormGroup=d;exports.FormGroupError=v;exports.FormGroupInfo=E;exports.FormGroupStyles=G;
