(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4393],{6029:function(e,t,r){Promise.resolve().then(r.bind(r,7125))},7125:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return V}});var i=r(4004),n=r(4978),s=r(65),a=r(9819),c=r(6739),o=r(5227),d=r(271),l=r(721),h=r(9524),p=r(988),x=r(4300),j=r(2433),Z=r(6551),m=r(8420),f=r(1753),u=r(9132),v=r(2161),b=r(8730),y=r(770),_=r(180),g=r(2190),w=r(4231),k=r(5536),S=r(1966),I=r(3375),C=r(3686),P=r(7098),A=r(9426),N=r(5891),R=r(5123),T=r(7354),$=r(1467),q=r(5527),E=r(1209),F=r(9513),D=r(959),L=r(2614),O=()=>{let{fragmentId:e,setFragmentId:t}=(0,n.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)(q.Z,{indent:!1,children:[(0,i.jsx)(E.Z,{onClick:r,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#section-api",active:/#section-api$/.test(e),"data-testid":"section_api",children:"Section API"})}),(0,i.jsx)(E.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)(E.Z,{onClick:r,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#section-props",active:/#section-props$/.test(e),"data-testid":"section_props",children:"Section Props"})}),(0,i.jsx)(F.Z,{}),(0,i.jsx)(E.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)(L.Z,{})]})},z=r(9362),B=r(176),G=r(1064);let M=(0,s.zo)(a.Z).withConfig({componentId:"sc-a7456461-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)"}}),n=["section-api","import","section-props","system-props",...G.Z];return(0,i.jsx)(z.Z,{children:(0,i.jsxs)(c.Z,{children:[(0,i.jsx)(N.Z,{currentPage:"root/core/children"}),(0,i.jsxs)(o.Z,{display:"flex",children:[e&&(0,i.jsx)(d.Z,{children:(0,i.jsx)(l.Z,{fluid:!0,children:(0,i.jsx)($.Z,{})})}),(0,i.jsxs)(M,{borderLeft:r?"none":t?"none":"dark",borderRight:r?"none":"dark",children:[(0,i.jsx)(o.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)(S.Z,{}),(0,i.jsx)(x.Z,{variant:"body2",children:"api"}),(0,i.jsx)(S.Z,{}),(0,i.jsx)(p.Z,{variant:"transparent",href:"/core/api/react-section",active:!0,width:"auto","data-testid":"breadcrumbs_react_section",children:"react-section"})]})})}),(0,i.jsxs)(l.Z,{fluid:!1,children:[(0,i.jsxs)(j.Z,{id:"section-api",children:[(0,i.jsx)(x.Z,{variant:"h1",children:"React Section API"}),(0,i.jsx)(x.Z,{variant:"body1",children:"API reference for the React Section component from Modj.js. Learn about how to use the Section 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)(o.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)(m.Z,{arrow:!0,el:(0,i.jsx)(p.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/Section",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 { Section } from '@modjs/core'"})]}),(0,i.jsxs)(j.Z,{id:"section-props",pb:"normal",mt:16,children:[(0,i.jsx)(x.Z,{variant:"h2",children:"Section Props"}),(0,i.jsx)(x.Z,{variant:"body1",children:"The following props are specific to the Section 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)(_.Z,{children:(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"children"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(w.Z,{color:"success",children:"node"})}),(0,i.jsx)(g.Z,{children:"-"}),(0,i.jsx)(g.Z,{children:"The content of the component."})]})})]})]}),(0,i.jsx)(T.Z,{}),(0,i.jsxs)(o.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,i.jsxs)(p.Z,{href:"/core/api/react-search-results",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_search_results_api",children:[(0,i.jsx)(P.Z,{}),"SearchResults API"]}),(0,i.jsxs)(p.Z,{href:"/core/api/react-separator",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_separator_api",children:["Separator API",(0,i.jsx)(A.Z,{})]})]})]}),(0,i.jsx)(R.Z,{})]}),(0,i.jsx)(B.Z,{defaultFragmentId:"#section-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=6029)}),_N_E=e.O()}]);