@cgi-learning-hub/ui
Version:
@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features
25 lines (24 loc) • 541 B
JavaScript
import i from "react";
function p(t, o) {
if (t == null) return {};
var r = {};
for (var e in t) if ({}.hasOwnProperty.call(t, e)) {
if (o.indexOf(e) !== -1) continue;
r[e] = t[e];
}
return r;
}
function n(t, o) {
return n = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, e) {
return r.__proto__ = e, r;
}, n(t, o);
}
function u(t, o) {
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, n(t, o);
}
const f = i.createContext(null);
export {
f as T,
u as _,
p as a
};