Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@lourenci/react-kanban
Advanced tools
Yet another Kanban/Trello board like lib for React.
Install the lib and the dependency on your project:
yarn add @lourenci/react-kanban styled-components
Import the lib and use it on your project:
import Board from '@lourenci/react-kanban'
const board = {
lanes: [
{
id: 1,
title: 'Backlog',
cards: [
{
id: 1,
title: 'Add card',
description: 'Add capability to add a card in a lane'
},
]
}
{
id: 2,
title: 'Doing',
cards: [
{
id: 2,
title: 'Drag-n-drop support',
description: 'Move a card between the lanes'
},
]
}
]
}
<Board
onCardDragEnd={() => {}}
>
{board}
</Board>
Prop | Description |
---|---|
children (required) | The board to render |
onCardDragEnd | Callback that will be called when the card move ends |
children
const board = {
lanes: {
id: ${laneId},
cards: {
id: ${cardId},
title: ${cardTitle},
description: ${cardDescription}
}
}
}
OnCardDragEnd
When the user moves a card, this callback will be called passing these parameters:
Arg | Description |
---|---|
board | The modified board |
source | An object with the card source { laneId, index } |
destination | An object with the card destination { laneId, index } |
Prop | Description |
---|---|
laneId | In source: lane source id; In destination: lane destination id; |
index | In source: card's index in lane source's array; In destination: card's index in lane destination's array; |
PRs are welcome. Just fork this project, setup it:
$ yarn
$ yarn start
and open the PR.
Thanks goes to these wonderful people (emoji key):
Leandro Lourenci 💬 🐛 💻 📖 💡 ⚠️ |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
Yet another Kanban/Trello board lib for React.
The npm package @lourenci/react-kanban receives a total of 2,014 weekly downloads. As such, @lourenci/react-kanban popularity was classified as popular.
We found that @lourenci/react-kanban demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.