Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-table

Package Overview
Dependencies
Maintainers
3
Versions
440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-table - npm Package Compare versions

Comparing version 3.4.0 to 3.4.1

assets/index.css

4

lib/TableRow.js

@@ -48,3 +48,2 @@ 'use strict';

var notRender = false;
var align = 'left';

@@ -76,3 +75,2 @@ if (i === 0 && expandable) {

colSpan = tdProps.colSpan;
align = tdProps.align || 'left';
}

@@ -86,3 +84,3 @@

'td',
{ key: col.key, style: { textAlign: align }, colSpan: colSpan, rowSpan: rowSpan, className: '' + colClassName },
{ key: col.key, colSpan: colSpan, rowSpan: rowSpan, className: '' + colClassName },
expandIcon,

@@ -89,0 +87,0 @@ text

{
"name": "rc-table",
"version": "3.4.0",
"version": "3.4.1",
"description": "table ui component for react",

@@ -10,3 +10,4 @@ "keywords": [

"files": [
"lib"
"lib",
"assets/*.css"
],

@@ -44,3 +45,3 @@ "main": "./lib/index",

"jquery": "^1.11.2",
"precommit-hook-eslint": "3.x",
"pre-commit": "1.x",
"rc-dropdown": "~1.1.2",

@@ -47,0 +48,0 @@ "rc-menu": "~3.4.0",

@@ -203,3 +203,3 @@ # rc-table

<th></th>
<td>The render function of cell, has three params: the text of this cell, the record of this row, the index of this row, it's return an object:{children: value, props:{align:'center', colSpan: 1, rowSpan:1}}==>'children' is the text of this cell, props is some setting of this cell, eg: 'align' set text-align, 'colspan' set td colspan, 'rowspan' set td rowspan</td>
<td>The render function of cell, has three params: the text of this cell, the record of this row, the index of this row, it's return an object:{children: value, props:{colSpan: 1, rowSpan:1}}==>'children' is the text of this cell, props is some setting of this cell, eg: 'colspan' set td colspan, 'rowspan' set td rowspan</td>
</tr>

@@ -206,0 +206,0 @@ </tbody>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc