@radix-ui/react-context
Advanced tools
Comparing version 0.1.2-rc.40 to 0.1.2-rc.41
var $4O1Ne$react = require("react"); | ||
function $parcel$exportWildcard(dest, source) { | ||
Object.keys(source).forEach(function(key) { | ||
if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) { | ||
return; | ||
} | ||
Object.defineProperty(dest, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return source[key]; | ||
} | ||
}); | ||
}); | ||
return dest; | ||
} | ||
function $parcel$export(e, n, v, s) { | ||
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); | ||
} | ||
var $dec3cc0142d4f286$exports = {}; | ||
$parcel$export($dec3cc0142d4f286$exports, "createContext", () => $dec3cc0142d4f286$export$fd42f52fd3ae1109); | ||
$parcel$export($dec3cc0142d4f286$exports, "createContextScope", () => $dec3cc0142d4f286$export$50c7b4e9d9f19c1); | ||
$parcel$export(module.exports, "createContext", () => $dec3cc0142d4f286$export$fd42f52fd3ae1109); | ||
$parcel$export(module.exports, "createContextScope", () => $dec3cc0142d4f286$export$50c7b4e9d9f19c1); | ||
@@ -148,5 +131,4 @@ function $dec3cc0142d4f286$export$fd42f52fd3ae1109(rootComponentName, defaultContext) { | ||
$parcel$exportWildcard(module.exports, $dec3cc0142d4f286$exports); | ||
//# sourceMappingURL=index.js.map |
import {createContext as $3bkAK$createContext, useMemo as $3bkAK$useMemo, createElement as $3bkAK$createElement, useContext as $3bkAK$useContext} from "react"; | ||
function $parcel$export(e, n, v, s) { | ||
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); | ||
} | ||
var $c512c27ab02ef895$exports = {}; | ||
$parcel$export($c512c27ab02ef895$exports, "createContext", () => $c512c27ab02ef895$export$fd42f52fd3ae1109); | ||
$parcel$export($c512c27ab02ef895$exports, "createContextScope", () => $c512c27ab02ef895$export$50c7b4e9d9f19c1); | ||
function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultContext) { | ||
@@ -12,0 +5,0 @@ const Context = /*#__PURE__*/ $3bkAK$createContext(defaultContext); |
{ | ||
"name": "@radix-ui/react-context", | ||
"version": "0.1.2-rc.40", | ||
"version": "0.1.2-rc.41", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36564
273