Socket
Socket
Sign inDemoInstall

@uiw/react-pagination

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-pagination - npm Package Compare versions

Comparing version 4.9.11 to 4.10.0

8

cjs/index.js

@@ -22,6 +22,7 @@ "use strict";

var _excluded = ["className", "prefixCls", "alignment", "size", "total", "pageSize", "current", "onChange", "divider"];
var _excluded = ["className", "style", "prefixCls", "alignment", "size", "total", "pageSize", "current", "onChange", "divider"];
function Pagination(props) {
var className = props.className,
style = props.style,
_props$prefixCls = props.prefixCls,

@@ -171,3 +172,6 @@ prefixCls = _props$prefixCls === void 0 ? 'w-pagination' : _props$prefixCls,

return /*#__PURE__*/(0, _jsxRuntime.jsx)("ul", (0, _objectSpread2["default"])((0, _objectSpread2["default"])({
className: cls
className: cls,
style: (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, style), {}, {
textAlign: alignment
})
}, other), {}, {

@@ -174,0 +178,0 @@ children: initPageSoure.map(function (item, idx) {

import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["className", "prefixCls", "alignment", "size", "total", "pageSize", "current", "onChange", "divider"];
var _excluded = ["className", "style", "prefixCls", "alignment", "size", "total", "pageSize", "current", "onChange", "divider"];
import React, { useEffect, useMemo, useState } from 'react';

@@ -10,2 +10,3 @@ import "./style/index.css";

className,
style,
prefixCls = 'w-pagination',

@@ -142,3 +143,6 @@ alignment = 'left',

return /*#__PURE__*/_jsx("ul", _extends({
className: cls
className: cls,
style: _extends({}, style, {
textAlign: alignment
})
}, other, {

@@ -145,0 +149,0 @@ children: initPageSoure.map((item, idx) => {

{
"name": "@uiw/react-pagination",
"version": "4.9.11",
"version": "4.10.0",
"description": "Pagination component",

@@ -47,3 +47,3 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/utils": "^4.9.11"
"@uiw/utils": "^4.10.0"
},

@@ -50,0 +50,0 @@ "devDependencies": {

@@ -27,3 +27,3 @@ Pagination 分页

<Divider />
<Pagination current={1} pageSize={10} total={50} />
<Pagination current={1} alignment="center" pageSize={10} total={50} />
<Divider />

@@ -30,0 +30,0 @@ <Pagination current={1} pageSize={10} total={60} divider />

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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