(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6277],{8510:function(e,r,n){Promise.resolve().then(n.bind(n,8647))},8647:function(e,r,n){"use strict";n.r(r),n.d(r,{default:function(){return V}});var t=n(4004),s=n(4978),i=n(65),c=n(9819),d=n(6739),o=n(5227),a=n(271),l=n(721),h=n(9524),x=n(988),j=n(4300),Z=n(2433),p=n(6551),m=n(8420),f=n(1753),w=n(9132),u=n(2161),b=n(8730),v=n(770),y=n(180),C=n(2190),g=n(4231),_=n(5536),I=n(1966),D=n(3375),k=n(3686),P=n(7098),A=n(9426),T=n(5891),N=n(5123),$=n(7354),q=n(1467),E=n(5527),F=n(1209),R=n(9513),L=n(959),O=n(2614),S=()=>{let{fragmentId:e,setFragmentId:r}=(0,s.useContext)(L.Z),n=e=>{r(e.target.hash)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.Z,{variant:"h3",fw:"semibold",children:"Table of Contents"}),(0,t.jsxs)(E.Z,{indent:!1,children:[(0,t.jsx)(F.Z,{onClick:n,children:(0,t.jsx)(x.Z,{variant:"transparent",href:"#drawer-content-api",active:/#drawer-content-api$/.test(e),"data-testid":"drawer_content_api",children:"DrawerContent API"})}),(0,t.jsx)(F.Z,{onClick:n,children:(0,t.jsx)(x.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,t.jsx)(F.Z,{onClick:n,children:(0,t.jsx)(x.Z,{variant:"transparent",href:"#drawer-content-props",active:/#drawer-content-props$/.test(e),"data-testid":"drawer_content_props",children:"DrawerContent Props"})}),(0,t.jsx)(R.Z,{}),(0,t.jsx)(F.Z,{onClick:n,children:(0,t.jsx)(x.Z,{variant:"transparent",fw:"bold",href:"#system-props",active:/#system-props$/.test(e),"data-testid":"system_props",children:"System Props"})})]}),(0,t.jsx)(O.Z,{})]})},z=n(9362),B=n(176),G=n(1064);let M=(0,i.zo)(c.Z).withConfig({componentId:"sc-d67466dd-0"})(["width:100%;"]);function V(){let e=(0,_.Z)({query:{media:"(min-width: 1281px)"}}),r=(0,_.Z)({query:{media:"(max-width: 1280px)"}}),n=(0,_.Z)({query:{media:"(max-width: 768px)"}}),s=["drawer-content-api","import","drawer-content-props","system-props",...G.Z];return(0,t.jsx)(z.Z,{children:(0,t.jsxs)(d.Z,{children:[(0,t.jsx)(T.Z,{currentPage:"root/core/children"}),(0,t.jsxs)(o.Z,{display:"flex",children:[e&&(0,t.jsx)(a.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)(o.Z,{borderBottom:"dark",children:(0,t.jsx)(l.Z,{children:(0,t.jsxs)(h.Z,{children:[(0,t.jsx)(x.Z,{variant:"transparent",href:"/core",width:"auto","data-testid":"breadcrumbs_core",children:"core"}),(0,t.jsx)(I.Z,{}),(0,t.jsx)(j.Z,{variant:"body2",children:"api"}),(0,t.jsx)(I.Z,{}),(0,t.jsx)(x.Z,{variant:"transparent",href:"/core/api/react-drawer-content",active:!0,width:"auto","data-testid":"breadcrumbs_react_drawer_content",children:"react-drawer-content"})]})})}),(0,t.jsxs)(l.Z,{fluid:!1,children:[(0,t.jsxs)(Z.Z,{id:"drawer-content-api",children:[(0,t.jsx)(j.Z,{variant:"h1",children:"React DrawerContent API"}),(0,t.jsx)(j.Z,{variant:"body1",children:"API reference for the React DrawerContent component from Modj.js. Learn about how to use the DrawerContent component and all the valid props that can be supplied to this component."})]}),(0,t.jsxs)(Z.Z,{id:"import",children:[(0,t.jsx)(j.Z,{variant:"h2",children:"Import "}),(0,t.jsx)(p.Z,{variant:"filled",notched:!0,type:"script",fileName:(0,t.jsxs)(o.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,t.jsx)(D.Z,{height:"2em",width:"1.5em"}),(0,t.jsx)(j.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)(x.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/DrawerContent",target:"_blank","data-testid":"import_github",children:(0,t.jsx)(k.Z,{})}),children:(0,t.jsx)(f.Z,{displayPosition:"left",children:(0,t.jsx)(j.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { DrawerContent } from '@modjs/core'"})]}),(0,t.jsxs)(Z.Z,{id:"drawer-content-props",pb:"normal",mt:16,children:[(0,t.jsx)(j.Z,{variant:"h2",children:"DrawerContent Props"}),(0,t.jsx)(j.Z,{variant:"body1",children:"The following props are specific to the DrawerContent component and can be applied to this component."}),(0,t.jsxs)(w.Z,{children:[(0,t.jsx)(u.Z,{children:(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(v.Z,{children:"Name"}),(0,t.jsx)(v.Z,{children:"Type"}),(0,t.jsx)(v.Z,{children:"Default"}),(0,t.jsx)(v.Z,{children:"Description"})]})}),(0,t.jsxs)(y.Z,{children:[(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(C.Z,{children:"children"}),(0,t.jsx)(C.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:"node"})}),(0,t.jsx)(C.Z,{children:"-"}),(0,t.jsx)(C.Z,{children:"The content of the component."})]}),(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(C.Z,{children:"title"}),(0,t.jsx)(C.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:"node"})}),(0,t.jsx)(C.Z,{children:"-"}),(0,t.jsx)(C.Z,{children:"The title of the component."})]}),(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(C.Z,{children:"toggleClose"}),(0,t.jsx)(C.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:"node"})}),(0,t.jsx)(C.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:""})}),(0,t.jsx)(C.Z,{children:"Close Icon for the component."})]}),(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(C.Z,{children:"displayPosition"}),(0,t.jsx)(C.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:'"right" "left" "top" "bottom"'})}),(0,t.jsx)(C.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:'"left"'})}),(0,t.jsx)(C.Z,{children:"Display position for the component."})]}),(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(C.Z,{children:"disableTransition"}),(0,t.jsx)(C.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:"boolean"})}),(0,t.jsx)(C.Z,{children:(0,t.jsx)(g.Z,{color:"success",children:"false"})}),(0,t.jsx)(C.Z,{children:"If true, the transition will be disabled."})]})]})]})]}),(0,t.jsx)($.Z,{}),(0,t.jsxs)(o.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,t.jsxs)(x.Z,{href:"/core/api/react-drawer",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_drawer_api",children:[(0,t.jsx)(P.Z,{}),"Drawer API"]}),(0,t.jsxs)(x.Z,{href:"/core/api/react-dropdown",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_dropdown_api",children:["Dropdown API",(0,t.jsx)(A.Z,{})]})]})]}),(0,t.jsx)(N.Z,{})]}),(0,t.jsx)(B.Z,{defaultFragmentId:"#drawer-content-api",sections:s,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=8510)}),_N_E=e.O()}]);