react-custom-kanban-board
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -36,2 +36,5 @@ "use strict"; | ||
var _b = (0, react_1.useState)(initialCards), cards = _b[0], setCards = _b[1]; | ||
(0, react_1.useEffect)(function () { | ||
setCards(initialCards); | ||
}, [initialCards]); | ||
return ((0, jsx_runtime_1.jsx)("div", { className: "kanban-board", children: columns.map(function (column) { return ((0, jsx_runtime_1.jsx)(ColumnComponent, { title: column.title, column: column.key, cards: cards, setCards: setCards, color: column.color, onCardMove: onCardMove, onCardEdit: onCardEdit, onCardDelete: onCardDelete, renderCard: renderCard, renderAvatar: renderAvatar, renderAddCard: renderAddCard, onTaskAddedCallback: onTaskAddedCallback, columnForAddCard: columnForAddCard }, column.key)); }) })); | ||
@@ -38,0 +41,0 @@ }; |
{ | ||
"name": "react-custom-kanban-board", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A customizable Kanban board component for React.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
35129
416