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