Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
react-simple-expandable-table
Advanced tools
Simple expandable table component for React
Source code at https://github.com/dabarma/react-simple-expandable-table
npm install --save react-simple-expandable-table
or
yarn add react-simple-expandable-table
import React from 'react';
import ReactSimpleExpandableTable from 'react-simple-expandable-table';
function Demo(){
const data = {
columns: [
{
description: 'col1',
dataBinding: 'col1-data',
render: (data)=> {
return <div>{data}rendered</div>
}
},
{
description: 'col2',
dataBinding: 'col2-data'
},
{
description: 'col3',
dataBinding: 'col3-data'
},
{
description: 'col4',
dataBinding: 'col4-data'
},
{
description: 'col5',
dataBinding: 'col5-data'
}
],
rows: [
{
'col1-data': 'test1',
'col2-data': 'test2',
'col3-data': 'test3',
'col4-data': 'test4',
'col5-data': 'test5',
rows: [
{
'col1-data': 'test1-1',
'col2-data': 'test2-1',
'col3-data': 'test3-1',
'col4-data': 'test4-1',
'col5-data': 'test5-1'
}
}
]
}
return(
<React.Fragment>
<div>
<ReactSimpleExpandableTable
data={data}
/>
</div>
</React.Fragment>
)
}
export default Demo;
FAQs
Simple expandable table component for React
The npm package react-simple-expandable-table receives a total of 2 weekly downloads. As such, react-simple-expandable-table popularity was classified as not popular.
We found that react-simple-expandable-table 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.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.