@lunalytics/ui
Version:
React based component library created to be used in Lunalytics
20 lines (19 loc) • 396 B
JavaScript
import a from "../styles/index.js";
const c = (r, o) => {
const n = { ...r };
for (const e in o)
if (Object.prototype.hasOwnProperty.call(o, e)) {
const t = o[e], l = r[e];
typeof t == "object" && t !== null && !Array.isArray(t) ? n[e] = c(
l ?? {},
t
) : n[e] = t;
}
return n;
};
function f(r) {
return c(a, r);
}
export {
f as createTheme
};