@rrrokhtar/react-kanban
Advanced tools
Comparing version 2.3.0 to 2.3.1
{ | ||
"name": "@rrrokhtar/react-kanban", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Yet another Kanban/Trello board lib for React. Modified", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -31,2 +31,16 @@ [![Maintainability](https://api.codeclimate.com/v1/badges/c602758e03850fdb8b64/maintainability)](https://codeclimate.com/github/lourenci/react-kanban/maintainability) | ||
Example | ||
```jsx | ||
<Board | ||
{...getUrlParams()} | ||
onColumnRemove={console.log} | ||
onColumnRename={console.log} | ||
onCardRemove={console.log} | ||
initialBoard={board} | ||
allowAddCard={{ on: "top" }} | ||
onAddCardClick={(column) => console.log(column)} // <---------- Overides the action of the current one | ||
/>, | ||
``` | ||
## ๐ Install and usage | ||
@@ -33,0 +47,0 @@ |
31434
612