
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
react-bulma-board
Advanced tools
Create boards to display lists and also drag and drop items back and forth while maintaing the state of the lists.
Create boards to display lists and also drag and drop items back and forth while maintaing the state of the lists.

npm i react-bulma-board --save
import React, { Component } from "react";
import { render } from "react-dom";
import { DragAndDropBoard } from "react-bulma-board";
import "./bulma.css";
class App extends Component {
constructor(props) {
super(props);
this.state = {
boardContent: {
"To-Do": [
"Implement item specific actions",
"Trello clone",
"Include stateful components"
],
WIP: ["Footer implementation", "write test cases", "optimization"],
Completed: ["Board", "Drag and Drop", "default Props", "State Handling"]
},
options: {
boardColors: ["#FF9800", "#03A9F4", "#8BC34A"],
innerItemColor: ["#FFE0B2", "#B3E5FC", "#DCEDC8"],
roundedCorner: true,
innerItemsRoundedCorner: true,
showKeyIndex: true
}
};
}
handleState(data) {
this.setState({
data
});
}
render() {
const { boardContent, options } = this.state;
return (
<DragAndDropBoard
numberOfBoards={3}
boardContent={boardContent}
onDrop={data => this.handleState(data)}
options={options}
/>
);
}
}
render(<App />, document.getElementById("root"));
| name | type | required | description |
|---|---|---|---|
| numberOfBoards | Number | true | The number of boards to be displayed |
| boardContent | Object | true | Lists to be passed on to the boards are to be represented in key-value pairs |
| options | Object | true | Display options, explained in the next section. |
| name | type | required | description | exampleValue | defaultValue |
|---|---|---|---|---|---|
| boardColors | array | false | Board's background color, applied to each board in the passed order | ["#FF9800", "#03A9F4", "#8BC34A"] | #fff |
| innerItemColor | array | false | Inner list item's background color, applied to each board in the passed order | ["#FFE0B2", "#B3E5FC", "#DCEDC8"] | #fff |
| roundedCorners | boolean | false | Toggle between rounded corners | true | false |
| innerItemsroundedCorners | boolean | false | Toggle between rounded corners | true | false |
| showKeyIndex | boolean | false | Make the list items as numbered lists | true | false |
Raghavendran Ramesh (BeardDude)
Distributed under the MIT license. See LICENSE for more information.
MIT License
This component has been created only because of the availability of some cool references that are listed below,
FAQs
Create boards to display lists and also drag and drop items back and forth while maintaing the state of the lists.
The npm package react-bulma-board receives a total of 2 weekly downloads. As such, react-bulma-board popularity was classified as not popular.
We found that react-bulma-board 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.