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

@nulogy/components

Package Overview
Dependencies
Maintainers
3
Versions
482
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nulogy/components - npm Package Compare versions

Comparing version 10.2.5 to 10.2.6

9

dist/src/Pagination/Pagination.d.ts
import React, { ReactNode, RefObject } from "react";
import PropTypes from "prop-types";
import { FlexProps } from "../Flex/Flex";
export declare const getPageItemsToDisplay: (totalPages: number, currentPage: number) => (string | number)[];
type PaginationProps = FlexProps & {
declare const SEPARATOR: "...";
export declare const getPageItemsToDisplay: (totalPages: number, currentPage: number) => Array<typeof SEPARATOR | number>;
interface PaginationProps extends FlexProps {
currentPage: number;

@@ -10,3 +11,3 @@ totalPages: number;

onPrevious?: () => void;
onSelectPage?: (page: string | number) => void;
onSelectPage?: (page: number) => void;
nextLabel?: ReactNode;

@@ -18,3 +19,3 @@ nextAriaLabel?: string;

scrollTargetRef?: RefObject<HTMLElement>;
};
}
declare function Pagination({ currentPage, totalPages, onNext, onPrevious, onSelectPage, nextAriaLabel, nextLabel, previousAriaLabel, previousLabel, scrollToTopAfterPagination, scrollTargetRef, "aria-label": ariaLabel, ...restProps }: PaginationProps): React.JSX.Element;

@@ -21,0 +22,0 @@ declare namespace Pagination {

{
"name": "@nulogy/components",
"version": "10.2.5",
"version": "10.2.6",
"description": "Component library for the Nulogy Design System - http://nulogy.design",

@@ -5,0 +5,0 @@ "private": false,

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