"use strict";const e=require("classnames"),m=require("react"),t="vertical _vertical_10c80",_="formGroup _formGroup_e737c",c="horizontal _horizontal_f559e",l="formGroupLabel _formGroupLabel_5eb52",u="formGroupError _formGroupError_78b72",i="formGroupInfo _formGroupInfo_80757",f="formGroupMarginBottom _formGroupMarginBottom_45b93",o={vertical:t,formGroup:_,horizontal:c,formGroupLabel:l,formGroupError:u,formGroupInfo:i,formGroupMarginBottom:f},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;
