import useSharedState from "../../../hooks/useSharedState.js";
import { Context } from "../model.js";
//#region src/components/table/hooks/useIsMobileTable.ts
const useIsMobileTable = () => {
	const modal = useSharedState(Context);
	const { tableWidth } = (modal === null || modal === void 0 ? void 0 : modal.state) || {};
	return !!(tableWidth && (tableWidth || 0) < 600);
};
//#endregion
export { useIsMobileTable as default };
