(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8366],{1438:function(e,t,r){Promise.resolve().then(r.bind(r,3634))},3634:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return V}});var i=r(4004),s=r(4978),n=r(65),a=r(9819),o=r(6739),d=r(5227),c=r(271),l=r(721),h=r(9524),p=r(988),x=r(4300),j=r(2433),Z=r(6551),u=r(8420),m=r(1753),f=r(9132),y=r(2161),v=r(8730),b=r(770),g=r(180),_=r(2190),w=r(4231),k=r(5536),I=r(1966),L=r(3375),P=r(3686),C=r(7098),A=r(9426),N=r(5891),T=r(5123),$=r(7354),q=r(1467),E=r(5527),F=r(1209),R=r(9513),D=r(959),O=r(2614),S=()=>{let{fragmentId:e,setFragmentId:t}=(0,s.useContext)(D.Z),r=e=>{t(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)(F.Z,{onClick:r,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#layout-api",active:/#layout-api$/.test(e),"data-testid":"layout_api",children:"Layout API"})}),(0,i.jsx)(F.Z,{onClick:r,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,i.jsx)(F.Z,{onClick:r,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#layout-props",active:/#layout-props$/.test(e),"data-testid":"layout_props",children:"Layout Props"})}),(0,i.jsx)(R.Z,{}),(0,i.jsx)(F.Z,{onClick:r,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)(O.Z,{})]})},z=r(9362),B=r(176),G=r(1064);let M=(0,n.zo)(a.Z).withConfig({componentId:"sc-615c3f73-0"})(["width:100%;"]);function V(){let e=(0,k.Z)({query:{media:"(min-width: 1281px)"}}),t=(0,k.Z)({query:{media:"(max-width: 1280px)"}}),r=(0,k.Z)({query:{media:"(max-width: 768px)"}}),s=["layout-api","import","layout-props","system-props",...G.Z];return(0,i.jsx)(z.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:r?"none":t?"none":"dark",borderRight:r?"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)(I.Z,{}),(0,i.jsx)(x.Z,{variant:"body2",children:"api"}),(0,i.jsx)(I.Z,{}),(0,i.jsx)(p.Z,{variant:"transparent",href:"/core/api/react-layout",active:!0,width:"auto","data-testid":"breadcrumbs_react_layout",children:"react-layout"})]})})}),(0,i.jsxs)(l.Z,{fluid:!1,children:[(0,i.jsxs)(j.Z,{id:"layout-api",children:[(0,i.jsx)(x.Z,{variant:"h1",children:"React Layout API"}),(0,i.jsx)(x.Z,{variant:"body1",children:"API reference for the React Layout component from Modj.js. Learn about how to use the Layout 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)(Z.Z,{variant:"filled",notched:!0,type:"script",fileName:(0,i.jsxs)(d.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,i.jsx)(L.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)(u.Z,{arrow:!0,el:(0,i.jsx)(p.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/Layout",target:"_blank","data-testid":"import_github",children:(0,i.jsx)(P.Z,{})}),children:(0,i.jsx)(m.Z,{displayPosition:"left",children:(0,i.jsx)(x.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { Layout } from '@modjs/core'"})]}),(0,i.jsxs)(j.Z,{id:"layout-props",pb:"normal",mt:16,children:[(0,i.jsx)(x.Z,{variant:"h2",children:"Layout Props"}),(0,i.jsx)(x.Z,{variant:"body1",children:"The following props are specific to the Layout component and can be applied to this component."}),(0,i.jsxs)(f.Z,{children:[(0,i.jsx)(y.Z,{children:(0,i.jsxs)(v.Z,{children:[(0,i.jsx)(b.Z,{children:"Name"}),(0,i.jsx)(b.Z,{children:"Type"}),(0,i.jsx)(b.Z,{children:"Default"}),(0,i.jsx)(b.Z,{children:"Description"})]})}),(0,i.jsx)(g.Z,{children:(0,i.jsxs)(v.Z,{children:[(0,i.jsx)(_.Z,{children:"children"}),(0,i.jsx)(_.Z,{children:(0,i.jsx)(w.Z,{color:"success",children:"node"})}),(0,i.jsx)(_.Z,{children:"-"}),(0,i.jsx)(_.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-image",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_image_api",children:[(0,i.jsx)(C.Z,{}),"Image API"]}),(0,i.jsxs)(p.Z,{href:"/core/api/react-linear-progress",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_linear_progress_api",children:["LinearProgress API",(0,i.jsx)(A.Z,{})]})]})]}),(0,i.jsx)(T.Z,{})]}),(0,i.jsx)(B.Z,{defaultFragmentId:"#layout-api",sections:s,children:(0,i.jsx)(S,{})})]})]})})}}},function(e){e.O(0,[4293,65,6071,4663,8322,3375,1041,8470,9594,1744],function(){return e(e.s=1438)}),_N_E=e.O()}]);