import { useContext as c } from "react";
import f from "../context/tableStyleContext.js";
function x(t, s) {
  const u = c(f);
  return Object.keys(t).reduce(
    (o, e) => {
      var r;
      const n = ((r = u[s]) == null ? void 0 : r[e]) || t[e];
      return n && (o[e] = n), o;
    },
    {}
  );
}
export {
  x as default
};
//# sourceMappingURL=useTableStyles.js.map
