Socket
Socket
Sign inDemoInstall

rc-pagination

Package Overview
Dependencies
Maintainers
3
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-pagination - npm Package Compare versions

Comparing version 1.3.7 to 1.4.0

13

lib/Pagination.js

@@ -294,2 +294,12 @@ 'use strict';

var totalText = null;
if (props.showTotal) {
totalText = React.createElement(
'span',
{ className: prefixCls + '-total-text' },
props.showTotal(props.total)
);
}
return React.createElement(

@@ -299,2 +309,3 @@ 'ul',

unselectable: 'unselectable' },
totalText,
React.createElement(

@@ -339,3 +350,3 @@ 'li',

pageSizeOptions: React.PropTypes.arrayOf(React.PropTypes.string),
showTotal: React.PropTypes.func,
locale: React.PropTypes.object

@@ -342,0 +353,0 @@ };

2

package.json
{
"name": "rc-pagination",
"version": "1.3.7",
"version": "1.4.0",
"description": "pagination ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

@@ -78,2 +78,3 @@ # rc-pagination

| showQuickJump | show quick goto jumper | Bool | false |
| showTotal | show total records text | Function | undefined |
| className | when set "mini", show mini version | String | rc-pagination |

@@ -80,0 +81,0 @@ | simple | when set, show simple pager | Object | null |

Sorry, the diff of this file is not supported yet

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