(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8570],{2864:function(e,r,t){Promise.resolve().then(t.bind(t,5277))},5277:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return M}});var i=t(4004),n=t(4978),s=t(65),a=t(9819),d=t(6739),c=t(5227),h=t(271),o=t(721),l=t(9524),p=t(988),x=t(4300),j=t(2433),Z=t(6551),m=t(8420),f=t(1753),u=t(9132),v=t(2161),b=t(8730),g=t(770),y=t(180),w=t(2190),_=t(4231),k=t(5536),I=t(1966),C=t(3375),P=t(3686),H=t(7098),A=t(9426),N=t(5891),T=t(5123),$=t(7354),q=t(1467),E=t(5527),F=t(1209),R=t(9513),D=t(959),G=t(2614),L=()=>{let{fragmentId:e,setFragmentId:r}=(0,n.useContext)(D.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)(F.Z,{onClick:t,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#header-api",active:/#header-api$/.test(e),"data-testid":"header_api",children:"Header API"})}),(0,i.jsx)(F.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)(F.Z,{onClick:t,children:(0,i.jsx)(p.Z,{variant:"transparent",href:"#header-props",active:/#header-props$/.test(e),"data-testid":"header_props",children:"Header Props"})}),(0,i.jsx)(R.Z,{}),(0,i.jsx)(F.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)(G.Z,{})]})},O=t(9362),S=t(176),z=t(1064);let B=(0,s.zo)(a.Z).withConfig({componentId:"sc-f7725003-0"})(["width:100%;"]);function M(){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=["header-api","import","header-props","system-props",...z.Z];return(0,i.jsx)(O.Z,{children:(0,i.jsxs)(d.Z,{children:[(0,i.jsx)(N.Z,{currentPage:"root/core/children"}),(0,i.jsxs)(c.Z,{display:"flex",children:[e&&(0,i.jsx)(h.Z,{children:(0,i.jsx)(o.Z,{fluid:!0,children:(0,i.jsx)(q.Z,{})})}),(0,i.jsxs)(B,{borderLeft:t?"none":r?"none":"dark",borderRight:t?"none":"dark",children:[(0,i.jsx)(c.Z,{borderBottom:"dark",children:(0,i.jsx)(o.Z,{children:(0,i.jsxs)(l.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-header",active:!0,width:"auto","data-testid":"breadcrumbs_react_header",children:"react-header"})]})})}),(0,i.jsxs)(o.Z,{fluid:!1,children:[(0,i.jsxs)(j.Z,{id:"header-api",children:[(0,i.jsx)(x.Z,{variant:"h1",children:"React Header API"}),(0,i.jsx)(x.Z,{variant:"body1",children:"API reference for the React Header component from Modj.js. Learn about how to use the Header 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)(c.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,i.jsx)(C.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/Header",target:"_blank","data-testid":"import_github",children:(0,i.jsx)(P.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 { Header } from '@modjs/core'"})]}),(0,i.jsxs)(j.Z,{id:"header-props",pb:"normal",mt:16,children:[(0,i.jsx)(x.Z,{variant:"h2",children:"Header Props"}),(0,i.jsx)(x.Z,{variant:"body1",children:"The following props are specific to the Header 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)(g.Z,{children:"Name"}),(0,i.jsx)(g.Z,{children:"Type"}),(0,i.jsx)(g.Z,{children:"Default"}),(0,i.jsx)(g.Z,{children:"Description"})]})}),(0,i.jsx)(y.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)(c.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,i.jsxs)(p.Z,{href:"/core/api/react-grid",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_grid_api",children:[(0,i.jsx)(H.Z,{}),"Grid API"]}),(0,i.jsxs)(p.Z,{href:"/core/api/react-image",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_image_api",children:["Image API",(0,i.jsx)(A.Z,{})]})]})]}),(0,i.jsx)(T.Z,{})]}),(0,i.jsx)(S.Z,{defaultFragmentId:"#header-api",sections:n,children:(0,i.jsx)(L,{})})]})]})})}}},function(e){e.O(0,[4293,65,6071,4663,8322,3375,1041,8470,9594,1744],function(){return e(e.s=2864)}),_N_E=e.O()}]);