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