import{useState as a}from"react";const t=(t,{initialTab:c,onClickCallback:i}={})=>{const[n,o]=a(c??t[0].name);return{activeTab:n,onClickTab:a=>{n!==a&&(o(a),i&&i(a))}}};export{t as useTabs};
//# sourceMappingURL=TabsHooks.js.map
