import m, { useMemo as o } from "react";
import { DEFAULT_EMPTY_MESSAGE as n } from "../constants/tableDefaults.js";
import i from "../../text/Text.js";
function p(e, t) {
  const r = o(() => e || [], [e]), a = o(
    () => t || m.createElement(i, {
      children: n,
      align: "center",
      type: "body"
    }),
    [t]
  );
  return {
    memoizedData: r,
    emptyStateContent: a
  };
}
export {
  p as default
};
//# sourceMappingURL=useTableData.js.map
