import{r,y as s,B as n,z as i,I as m,J as u,D as o}from"./EchoChannel-Bg1-kez_.js";const c={class:"col-span-full w-full flex justify-center mt-8"},h={__name:"List",props:{limit:Number,total:Number},setup(l){const t=r({showAll:!1});return(a,e)=>(o(),s(u,null,[n(a.$slots,"default",{showAll:t.showAll,limit:l.limit}),i("div",c,[l.limit<l.total&&!t.showAll?(o(),s("button",{key:0,onClick:e[0]||(e[0]=f=>t.showAll=!t.showAll),class:"bg-qorus-purple text-white py-2 px-4"},"Show all")):m("",!0)])],64))}};export{h as default};