(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4365],{2081:function(e,r,t){Promise.resolve().then(t.bind(t,2707))},2707:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return V}});var i=t(4004),n=t(4978),s=t(65),a=t(9819),o=t(6739),d=t(5227),c=t(271),l=t(721),h=t(9524),p=t(988),x=t(4300),j=t(2433),m=t(6551),Z=t(8420),f=t(1753),u=t(9132),v=t(2161),b=t(8730),y=t(770),g=t(180),w=t(2190),_=t(4231),k=t(5536),F=t(1966),I=t(3375),C=t(3686),P=t(7098),A=t(9426),N=t(5891),T=t(5123),$=t(7354),q=t(1467),E=t(5527),R=t(1209),D=t(9513),G=t(959),L=t(2614),O=()=>{let{fragmentId:e,setFragmentId:r}=(0,n.useContext)(G.Z),t=e=>{r(e.target.hash)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{variant:"h3",fw:"semibold",children:"Table of Contents"}),(0,i.jsxs)(E.Z,{indent:!1,children:[(0,i.jsx)(R.Z,{onClick:t,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#form-api",active:/#form-api$/.test(e),"data-testid":"form_api",children:"Form API"})}),(0,i.jsx)(R.Z,{onClick:t,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,i.jsx)(R.Z,{onClick:t,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#form-props",active:/#form-props$/.test(e),"data-testid":"form_props",children:"Form Props"})}),(0,i.jsx)(D.Z,{}),(0,i.jsx)(R.Z,{onClick:t,children:(0,i.jsx)(p.Z,{variant:"transparent",fw:"bold",href:"#system-props",active:/#system-props$/.test(e),"data-testid":"system_props",children:"System Props"})})]}),(0,i.jsx)(L.Z,{})]})},S=t(9362),z=t(176),B=t(1064);let M=(0,s.zo)(a.Z).withConfig({componentId:"sc-a7ad9088-0"})(["width:100%;"]);function V(){let e=(0,k.Z)({query:{media:"(min-width: 1281px)"}}),r=(0,k.Z)({query:{media:"(max-width: 1280px)"}}),t=(0,k.Z)({query:{media:"(max-width: 768px)"}}),n=["form-api","import","form-props","system-props",...B.Z];return(0,i.jsx)(S.Z,{children:(0,i.jsxs)(o.Z,{children:[(0,i.jsx)(N.Z,{currentPage:"root/core/children"}),(0,i.jsxs)(d.Z,{display:"flex",children:[e&&(0,i.jsx)(c.Z,{children:(0,i.jsx)(l.Z,{fluid:!0,children:(0,i.jsx)(q.Z,{})})}),(0,i.jsxs)(M,{borderLeft:t?"none":r?"none":"dark",borderRight:t?"none":"dark",children:[(0,i.jsx)(d.Z,{borderBottom:"dark",children:(0,i.jsx)(l.Z,{children:(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(p.Z,{variant:"transparent",href:"/core",width:"auto","data-testid":"breadcrumbs_core",children:"core"}),(0,i.jsx)(F.Z,{}),(0,i.jsx)(x.Z,{variant:"body2",children:"api"}),(0,i.jsx)(F.Z,{}),(0,i.jsx)(p.Z,{variant:"transparent",href:"/core/api/react-form",active:!0,width:"auto","data-testid":"breadcrumbs_react_form",children:"react-form"})]})})}),(0,i.jsxs)(l.Z,{fluid:!1,children:[(0,i.jsxs)(j.Z,{id:"form-api",children:[(0,i.jsx)(x.Z,{variant:"h1",children:"React Form API"}),(0,i.jsx)(x.Z,{variant:"body1",children:"API reference for the React Form component from Modj.js. Learn about how to use the Form component and all the valid props that can be supplied to this component."})]}),(0,i.jsxs)(j.Z,{id:"import",children:[(0,i.jsx)(x.Z,{variant:"h2",children:"Import "}),(0,i.jsx)(m.Z,{variant:"filled",notched:!0,type:"script",fileName:(0,i.jsxs)(d.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,i.jsx)(I.Z,{height:"2em",width:"1.5em"}),(0,i.jsx)(x.Z,{variant:"small",fs:1,children:"App.jsx"})]}),headerContent:(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(Z.Z,{arrow:!0,el:(0,i.jsx)(p.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/Form",target:"_blank","data-testid":"import_github",children:(0,i.jsx)(C.Z,{})}),children:(0,i.jsx)(f.Z,{displayPosition:"left",children:(0,i.jsx)(x.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { Form } from '@modjs/core'"})]}),(0,i.jsxs)(j.Z,{id:"form-props",pb:"normal",mt:16,children:[(0,i.jsx)(x.Z,{variant:"h2",children:"Form Props"}),(0,i.jsx)(x.Z,{variant:"body1",children:"The following props are specific to the Form component and can be applied to this component."}),(0,i.jsxs)(u.Z,{children:[(0,i.jsx)(v.Z,{children:(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(y.Z,{children:"Name"}),(0,i.jsx)(y.Z,{children:"Type"}),(0,i.jsx)(y.Z,{children:"Default"}),(0,i.jsx)(y.Z,{children:"Description"})]})}),(0,i.jsx)(g.Z,{children:(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(w.Z,{children:"children"}),(0,i.jsx)(w.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"node"})}),(0,i.jsx)(w.Z,{children:"-"}),(0,i.jsx)(w.Z,{children:"The content of the component."})]})})]})]}),(0,i.jsx)($.Z,{}),(0,i.jsxs)(d.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,i.jsxs)(p.Z,{href:"/core/api/react-footer",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_footer_api",children:[(0,i.jsx)(P.Z,{}),"Footer API"]}),(0,i.jsxs)(p.Z,{href:"/core/api/react-grid",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_grid_api",children:["Grid API",(0,i.jsx)(A.Z,{})]})]})]}),(0,i.jsx)(T.Z,{})]}),(0,i.jsx)(z.Z,{defaultFragmentId:"#form-api",sections:n,children:(0,i.jsx)(O,{})})]})]})})}}},function(e){e.O(0,[4293,65,6071,4663,8322,3375,1041,8470,9594,1744],function(){return e(e.s=2081)}),_N_E=e.O()}]);