react-figma
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -21,1 +21,2 @@ export { render } from './renderer'; | ||
export { Platform } from './helpers/Platform'; | ||
export { useFetch } from './hooks/useFetch'; |
@@ -44,2 +44,4 @@ "use strict"; | ||
exports.Platform = Platform_1.Platform; | ||
var useFetch_1 = require("./hooks/useFetch"); | ||
exports.useFetch = useFetch_1.useFetch; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "react-figma", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "Render React components to Figma", | ||
@@ -71,2 +71,3 @@ "scripts": { | ||
"nanoid": "^2.0.3", | ||
"react-fetch-hook": "1.7.2", | ||
"react-reconciler": "^0.23.0", | ||
@@ -73,0 +74,0 @@ "rxjs": "^6.5.2", |
@@ -124,6 +124,7 @@ # React Figma | ||
* [basic](examples/basic) | ||
* [design-system](examples/design-system) | ||
* [interactive](examples/interactive) | ||
* [groups](examples/groups) | ||
* [Basic](examples/basic) | ||
* [Design system](examples/design-system) | ||
* [Interactive](examples/interactive) | ||
* [Groups](examples/groups) | ||
* [Data fetching](examples/fetching) | ||
* [Primer Demo](https://github.com/react-figma/primer-demo) - Example of multifplatform UI-kit | ||
@@ -130,0 +131,0 @@ |
@@ -1,3 +0,4 @@ | ||
export declare const uiWorker: ({ yoga }: { | ||
export declare const uiWorker: ({ yoga, fetch }: { | ||
yoga: any; | ||
fetch: any; | ||
}) => (event: any) => void; |
@@ -5,4 +5,5 @@ "use strict"; | ||
var base64ToBlobWorker_1 = require("./workers/base64ToBlobWorker"); | ||
var fetchWorker_1 = require("./workers/fetchWorker"); | ||
exports.uiWorker = function (_a) { | ||
var yoga = _a.yoga; | ||
var yoga = _a.yoga, fetch = _a.fetch; | ||
return function (event) { | ||
@@ -12,4 +13,5 @@ var message = event.data.pluginMessage; | ||
base64ToBlobWorker_1.base64ToBlobWorker()(message); | ||
fetchWorker_1.fetchWorker(fetch)(message); | ||
}; | ||
}; | ||
//# sourceMappingURL=uiWorker.js.map |
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
311384
252
4761
167
7
3
+ Addedreact-fetch-hook@1.7.2
+ Addedreact-fetch-hook@1.7.2(transitive)