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