import{j as s,d as o,aa as c,G as e}from"./index-3c1b2661.js";const m=({active:n,setActive:t,label:i,disableReason:a,hasError:r})=>a?s.jsx("li",{className:"p-side-navigation__item",children:s.jsx(o.Button,{className:"p-side-navigation__link p-button--base",disabled:!0,title:a,children:i})}):s.jsx("li",{className:c("p-side-navigation__item",{"has-error":r}),children:s.jsx("a",{className:"p-side-navigation__link",onClick:()=>t(i),"aria-current":e(i)===e(n)?"page":void 0,children:i})});export{m as F};
