Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
sussol-react-table
Advanced tools
A Sussol themed wrapper and simple API for the blueprintjs table component
A wrapper and simple API for using the blueprintjs data table
npm install --save sussol-react-table
import React from 'react';
import { SussolReactTable } from 'sussol-react-table';
const columns = [
{
key: 'name',
title: 'Name',
sortable: true,
},
{
key: 'code',
title: 'Code',
sortable: true,
},
{
key: 'group',
title: 'Editable Column',
editable: true,
},
];
const data = [];
for (let i = 0; i < 100; i++) {
data.push({ code: `code${i}`, name: `name${i}`, group: `group${i % 2}` });
}
export class App extends React.Component {
render() {
return (
<div style={{ height: 400 }}>
<h1>A Beautiful table</h1>
<SussolReactTable
columns={columns}
tableData={data}
/>
</div>
);
}
}
You will need grab the styles and material icons via your index.html file. Make sure the path to styles is correct.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Your Title</title>
<link href="relative path to/node_modules/normalize.css/normalize.css" rel="stylesheet" />
<link href="relative path to/node_modules/@blueprintjs/core/dist/blueprint.css" rel="stylesheet" />
<link href="relative path to/node_modules/@blueprintjs/table/dist/table.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div id="root" class="container"></div>
<script src="http://localhost:8080/build/bundle.js" charset="utf-8"></script>
</body>
</html>
Read up on the API for the blueprintjs table component.
FAQs
A Sussol themed wrapper and simple API for the blueprintjs table component
The npm package sussol-react-table receives a total of 3 weekly downloads. As such, sussol-react-table popularity was classified as not popular.
We found that sussol-react-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.