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

rc-pagination

Package Overview
Dependencies
Maintainers
4
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.8.7 to 1.8.8

15

lib/Pagination.js

@@ -244,3 +244,4 @@ 'use strict';

onClick: this._prev,
className: (this._hasPrev() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-prev'
className: (this._hasPrev() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-prev',
'aria-disabled': !this._hasPrev()
},

@@ -274,3 +275,4 @@ _react2["default"].createElement('a', null)

onClick: this._next,
className: (this._hasNext() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-next'
className: (this._hasNext() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-next',
'aria-disabled': !this._hasNext()
},

@@ -392,3 +394,4 @@ _react2["default"].createElement('a', null)

}
var prevDisabled = !this._hasPrev();
var nextDisabled = !this._hasNext();
return _react2["default"].createElement(

@@ -407,3 +410,4 @@ 'ul',

onClick: this._prev,
className: (this._hasPrev() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-prev'
className: (!prevDisabled ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-prev',
'aria-disabled': prevDisabled
},

@@ -418,3 +422,4 @@ _react2["default"].createElement('a', null)

onClick: this._next,
className: (this._hasNext() ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-next'
className: (!nextDisabled ? '' : prefixCls + '-disabled') + ' ' + prefixCls + '-next',
'aria-disabled': nextDisabled
},

@@ -421,0 +426,0 @@ _react2["default"].createElement('a', null)

{
"name": "rc-pagination",
"version": "1.8.7",
"version": "1.8.8",
"description": "pagination ui component for react",

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

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