@wixc3/react-board
Advanced tools
Comparing version 2.2.1 to 2.3.0
@@ -33,5 +33,7 @@ "use strict"; | ||
// react <18 | ||
// eslint-disable-next-line react/no-deprecated | ||
const cleanup = () => react_dom_1.default.unmountComponentAtNode(container); | ||
try { | ||
await new Promise((resolve, reject) => { | ||
// eslint-disable-next-line react/no-deprecated | ||
react_dom_1.default.render(react_1.default.createElement(ErrorBoundary, { reportError: reject }, element), container, resolve); | ||
@@ -38,0 +40,0 @@ }); |
@@ -15,2 +15,4 @@ import type React from 'react'; | ||
tags?: string[]; | ||
/** Defines whether the board can be used as a snippet. */ | ||
isSnippet?: boolean; | ||
/** A React component representing the board. */ | ||
@@ -17,0 +19,0 @@ Board: React.ComponentType<any>; |
{ | ||
"name": "@wixc3/react-board", | ||
"description": "Library for creation of React component boards", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"main": "dist/index.js", | ||
@@ -11,3 +11,3 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@wixc3/board-core": "^2.2.1" | ||
"@wixc3/board-core": "^2.3.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "files": [ |
@@ -34,4 +34,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
/** Defines whether the board can be used as a snippet. */ | ||
isSnippet?: boolean; | ||
/** A React component representing the board. */ | ||
Board: React.ComponentType<any>; | ||
} |
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
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
19549
289
Updated@wixc3/board-core@^2.3.0