import{jsx as n,Fragment as i}from"react/jsx-runtime";import r from"../../Button/Button.js";var t=function(){},e=function(e){var o=e.isYearBlocked,d=e.onSelect,l=e.selectedYear;return n(i,{children:e.yearsItems.map((function(i){var e,a,u=o&&o(i),s=u?t:function(){return d(i)},c=parseInt(l,10)===i?null===(e=null==r?void 0:r.kinds)||void 0===e?void 0:e.SECONDARY:null===(a=null==r?void 0:r.kinds)||void 0===a?void 0:a.TERTIARY;return n(r,Object.assign({kind:c,onClick:s,disabled:u,marginLeft:!0,marginRight:!0},{children:""+i}),i)}))})};export{e as default};
