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