import{j as t}from"./iframe-p4aYZyoq.js";import{g}from"./lipsum-Bi7KVxrj.js";import{c as s}from"./index-Dx18ixSn.js";import{a as h}from"./utils-pBtDpbI-.js";import"./preload-helper-BDBacUwf.js";import"./index-BUaT88Mv.js";const f=({heading:e,resultsCount:r,headingPostscript:l,headingLevel:d="h1",headingClassName:u,children:p,className:m,...c})=>t.jsxs("div",{className:s(m,"page-intro"),...c,children:[t.jsxs(d,{className:s(u),children:[e,r!==void 0&&t.jsxs("small",{children:[" ",h(r)," result",r===1?"":"s"," "]},"count"),l]}),p]});try{pageintro.displayName="pageintro",pageintro.__docgenInfo={description:"",displayName:"pageintro",props:{heading:{defaultValue:null,description:"The title",name:"heading",required:!0,type:{name:"ReactNode"}},headingLevel:{defaultValue:{value:"h1"},description:"The heading level",name:"headingLevel",required:!1,type:{name:"enum",value:[{value:'"h2"'},{value:'"h1"'},{value:'"h3"'},{value:'"h4"'},{value:'"h5"'},{value:'"h6"'}]}},headingClassName:{defaultValue:null,description:"CSS classes to pass to the component heading",name:"headingClassName",required:!1,type:{name:"string"}},headingPostscript:{defaultValue:null,description:"Optional heading postscript to follow resultsCount",name:"headingPostscript",required:!1,type:{name:"ReactNode"}},resultsCount:{defaultValue:null,description:"Number of results",name:"resultsCount",required:!1,type:{name:"number"}}}}}catch{}const L={title:"Layout/Page Intro",args:{headingPostscript:""},render:({headingPostscript:e})=>t.jsx(f,{heading:"UniProt",resultsCount:1e3,headingPostscript:e,children:g()})},a={};var n,o,i;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(i=(o=a.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};const P=["Message"];export{a as Message,P as __namedExportsOrder,L as default};
