(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5853],{481:function(e,r,t){Promise.resolve().then(t.bind(t,6921))},6921:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return V}});var i=t(4004),s=t(4978),n=t(65),a=t(9819),o=t(6739),d=t(5227),c=t(271),l=t(721),h=t(9524),x=t(988),p=t(4300),j=t(2433),Z=t(6551),m=t(8420),b=t(1753),f=t(9132),u=t(2161),v=t(8730),y=t(770),g=t(180),w=t(2190),_=t(4231),k=t(5536),I=t(1966),B=t(3375),C=t(3686),P=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),L=t(2614),O=()=>{let{fragmentId:e,setFragmentId:r}=(0,s.useContext)(D.Z),t=e=>{r(e.target.hash)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.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)(x.Z,{variant:"transparent",href:"#box-api",active:/#box-api$/.test(e),"data-testid":"box_api",children:"Box API"})}),(0,i.jsx)(F.Z,{onClick:t,children:(0,i.jsx)(x.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)(x.Z,{variant:"transparent",href:"#box-props",active:/#box-props$/.test(e),"data-testid":"box_props",children:"Box Props"})}),(0,i.jsx)(R.Z,{}),(0,i.jsx)(F.Z,{onClick:t,children:(0,i.jsx)(x.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,{})]})},S=t(9362),z=t(176),G=t(1064);let M=(0,n.zo)(a.Z).withConfig({componentId:"sc-1063fb2a-0"})(["width:100%;"]);function V(){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)"}}),s=["box-api","import","box-props","system-props",...G.Z];return(0,i.jsx)(S.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:t?"none":r?"none":"dark",borderRight:t?"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)(x.Z,{variant:"transparent",href:"/core",width:"auto","data-testid":"breadcrumbs_core",children:"core"}),(0,i.jsx)(I.Z,{}),(0,i.jsx)(p.Z,{variant:"body2",children:"api"}),(0,i.jsx)(I.Z,{}),(0,i.jsx)(x.Z,{variant:"transparent",href:"/core/api/react-box",active:!0,width:"auto","data-testid":"breadcrumbs_react_box",children:"react-box"})]})})}),(0,i.jsxs)(l.Z,{fluid:!1,children:[(0,i.jsxs)(j.Z,{id:"box-api",children:[(0,i.jsx)(p.Z,{variant:"h1",children:"React Box API"}),(0,i.jsx)(p.Z,{variant:"body1",children:"API reference for the React Box component from Modj.js. Learn about how to use the Box component and all the valid props that can be supplied to this component."})]}),(0,i.jsxs)(j.Z,{id:"import",children:[(0,i.jsx)(p.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)(B.Z,{height:"2em",width:"1.5em"}),(0,i.jsx)(p.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)(x.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/Box",target:"_blank","data-testid":"import_github",children:(0,i.jsx)(C.Z,{})}),children:(0,i.jsx)(b.Z,{displayPosition:"left",children:(0,i.jsx)(p.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { Box } from '@modjs/core'"})]}),(0,i.jsxs)(j.Z,{id:"box-props",pb:"normal",mt:16,children:[(0,i.jsx)(p.Z,{variant:"h2",children:"Box Props"}),(0,i.jsx)(p.Z,{variant:"body1",children:"The following props are specific to the Box component and can be applied to this component."}),(0,i.jsxs)(f.Z,{children:[(0,i.jsx)(u.Z,{children:(0,i.jsxs)(v.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)(g.Z,{children:(0,i.jsxs)(v.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)(d.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,i.jsxs)(x.Z,{href:"/core/api/react-avatar",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_avatar_api",children:[(0,i.jsx)(P.Z,{}),"Avatar API"]}),(0,i.jsxs)(x.Z,{href:"/core/api/react-breadcrumbs",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_breadcrumbs_api",children:["Breadcrumbs API",(0,i.jsx)(A.Z,{})]})]})]}),(0,i.jsx)(T.Z,{})]}),(0,i.jsx)(z.Z,{defaultFragmentId:"#box-api",sections:s,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=481)}),_N_E=e.O()}]);