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