import { useContext as o } from "react";
import { TabContext as r } from "../../components/extended/mui/TabContext/index.js";
const s = () => {
  const t = o(r);
  if (t === null)
    throw new Error("useTab must be used within a TabProvider");
  return t;
};
export {
  s as useTab
};
