(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8496],{6193:function(e,s,r){Promise.resolve().then(r.bind(r,2004))},2004:function(e,s,r){"use strict";r.r(s),r.d(s,{default:function(){return V}});var t=r(4004),n=r(4978),i=r(65),c=r(9819),a=r(6739),l=r(5227),h=r(271),d=r(721),o=r(9524),x=r(988),j=r(4300),Z=r(2433),p=r(6551),u=r(8420),m=r(1753),f=r(9132),v=r(2161),b=r(8730),_=r(770),y=r(180),g=r(2190),w=r(4231),C=r(5536),I=r(1966),k=r(3375),S=r(3686),R=r(7098),P=r(9426),A=r(5891),N=r(5123),T=r(7354),F=r(1467),$=r(5527),q=r(1209),E=r(9513),D=r(959),L=r(2614),O=()=>{let{fragmentId:e,setFragmentId:s}=(0,n.useContext)(D.Z),r=e=>{s(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)($.Z,{indent:!1,children:[(0,t.jsx)(q.Z,{onClick:r,children:(0,t.jsx)(x.Z,{variant:"transparent",href:"#search-results-api",active:/#search-results-api$/.test(e),"data-testid":"search_results_api",children:"SearchResults API"})}),(0,t.jsx)(q.Z,{onClick:r,children:(0,t.jsx)(x.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,t.jsx)(q.Z,{onClick:r,children:(0,t.jsx)(x.Z,{variant:"transparent",href:"#search-results-props",active:/#search-results-props$/.test(e),"data-testid":"search_results_props",children:"SearchResults Props"})}),(0,t.jsx)(E.Z,{}),(0,t.jsx)(q.Z,{onClick:r,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)(L.Z,{})]})},z=r(9362),B=r(176),G=r(1064);let M=(0,i.zo)(c.Z).withConfig({componentId:"sc-cb3c4367-0"})(["width:100%;"]);function V(){let e=(0,C.Z)({query:{media:"(min-width: 1281px)"}}),s=(0,C.Z)({query:{media:"(max-width: 1280px)"}}),r=(0,C.Z)({query:{media:"(max-width: 768px)"}}),n=["search-results-api","import","search-results-props","system-props",...G.Z];return(0,t.jsx)(z.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsx)(A.Z,{currentPage:"root/core/children"}),(0,t.jsxs)(l.Z,{display:"flex",children:[e&&(0,t.jsx)(h.Z,{children:(0,t.jsx)(d.Z,{fluid:!0,children:(0,t.jsx)(F.Z,{})})}),(0,t.jsxs)(M,{borderLeft:r?"none":s?"none":"dark",borderRight:r?"none":"dark",children:[(0,t.jsx)(l.Z,{borderBottom:"dark",children:(0,t.jsx)(d.Z,{children:(0,t.jsxs)(o.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-search-results",active:!0,width:"auto","data-testid":"breadcrumbs_react_search_results",children:"react-search-results"})]})})}),(0,t.jsxs)(d.Z,{fluid:!1,children:[(0,t.jsxs)(Z.Z,{id:"search-results-api",children:[(0,t.jsx)(j.Z,{variant:"h1",children:"React SearchResults API"}),(0,t.jsx)(j.Z,{variant:"body1",children:"API reference for the React SearchResults component from Modj.js. Learn about how to use the SearchResults 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)(l.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,t.jsx)(k.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)(u.Z,{arrow:!0,el:(0,t.jsx)(x.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/SearchResults",target:"_blank","data-testid":"import_github",children:(0,t.jsx)(S.Z,{})}),children:(0,t.jsx)(m.Z,{displayPosition:"left",children:(0,t.jsx)(j.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { SearchResults } from '@modjs/core'"})]}),(0,t.jsxs)(Z.Z,{id:"search-results-props",pb:"normal",mt:16,children:[(0,t.jsx)(j.Z,{variant:"h2",children:"SearchResults Props"}),(0,t.jsx)(j.Z,{variant:"body1",children:"The following props are specific to the SearchResults component and can be applied to this component."}),(0,t.jsxs)(f.Z,{children:[(0,t.jsx)(v.Z,{children:(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(_.Z,{children:"Name"}),(0,t.jsx)(_.Z,{children:"Type"}),(0,t.jsx)(_.Z,{children:"Default"}),(0,t.jsx)(_.Z,{children:"Description"})]})}),(0,t.jsxs)(y.Z,{children:[(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(g.Z,{children:"children"}),(0,t.jsx)(g.Z,{children:(0,t.jsx)(w.Z,{color:"success",children:"node"})}),(0,t.jsx)(g.Z,{children:"-"}),(0,t.jsx)(g.Z,{children:"The content of the component."})]}),(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(g.Z,{children:"notched"}),(0,t.jsx)(g.Z,{children:(0,t.jsx)(w.Z,{color:"success",children:"boolean"})}),(0,t.jsx)(g.Z,{children:(0,t.jsx)(w.Z,{color:"success",children:"false"})}),(0,t.jsx)(g.Z,{children:"If true, the component will have notched effect."})]}),(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(g.Z,{children:"toggleClose"}),(0,t.jsx)(g.Z,{children:(0,t.jsx)(w.Z,{color:"success",children:"node"})}),(0,t.jsx)(g.Z,{children:(0,t.jsx)(w.Z,{color:"success",children:""})}),(0,t.jsx)(g.Z,{children:"Close icon for the component."})]}),(0,t.jsxs)(b.Z,{children:[(0,t.jsx)(g.Z,{children:"title"}),(0,t.jsx)(g.Z,{children:(0,t.jsx)(w.Z,{color:"success",children:"node"})}),(0,t.jsx)(g.Z,{children:"-"}),(0,t.jsx)(g.Z,{children:"Title for the component."})]})]})]})]}),(0,t.jsx)(T.Z,{}),(0,t.jsxs)(l.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,t.jsxs)(x.Z,{href:"/core/api/react-search-field",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_search_field_api",children:[(0,t.jsx)(R.Z,{}),"SearchField API"]}),(0,t.jsxs)(x.Z,{href:"/core/api/react-section",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_section_api",children:["Section API",(0,t.jsx)(P.Z,{})]})]})]}),(0,t.jsx)(N.Z,{})]}),(0,t.jsx)(B.Z,{defaultFragmentId:"#search-results-api",sections:n,children:(0,t.jsx)(O,{})})]})]})})}}},function(e){e.O(0,[4293,65,6071,4663,8322,3375,1041,8470,9594,1744],function(){return e(e.s=6193)}),_N_E=e.O()}]);