import e from"react";import{Button as n}from"@vibe/button/mockedClassNames";import r from"./YearPicker.module.scss.js";var t=function(){},i=function(i){var o=i.isYearBlocked,a=i.onSelect,l=i.selectedYear;return e.createElement(e.Fragment,null,i.yearsItems.map((function(i){var s,m,c=o&&o(i),d=c?t:function(){return a(i)},u=parseInt(l,10)===i?null===(s=null==n?void 0:n.kinds)||void 0===s?void 0:s.PRIMARY:null===(m=null==n?void 0:n.kinds)||void 0===m?void 0:m.TERTIARY;return e.createElement(n,{className:r.pickerOption,key:i,kind:u,onClick:d,disabled:c,marginLeft:!0,marginRight:!0},""+i)})))};export{i as default};
//# sourceMappingURL=YearsList.js.map
