uikit/dist/chunks/feature-registry-B2iuEiEx.js
Mohamadzadeh 43b4a2a42b
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Has been skipped
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Has been skipped
refactor new BiProvider | v1.2.1
2026-10-26 13:58:14 +03:30

19 lines
419 B
JavaScript

import u from "react";
const i = Symbol.for("uikit.provider.feature.v1");
function a(e, r, o) {
function t() {
return null;
}
return t.displayName = `BiProvider.${e}`, Object.defineProperty(t, i, {
value: Object.freeze({ name: e, priority: r, Provider: o })
}), t;
}
function f(e) {
var r;
return u.isValidElement(e) ? (r = e.type) == null ? void 0 : r[i] : void 0;
}
export {
a as d,
f as g
};