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

@hudoro/pagination

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hudoro/pagination

pagination component for Hudoro UI

  • 0.0.1-beta.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
236
decreased by-42.72%
Maintainers
2
Weekly downloads
 
Created
Source

Hudoro pagination

Hudoro pagination is a strict and customizable pagination component for web development projects, designed for simplicity and adherence to strict design guidelines.

Screenshots

App Screenshot

Package instalation

Instal package using pnpm

  pnpm add @hudoro/pagination

Instal package using yarn

  yarn add @hudoro/pagination

Instal package using npm

  npm i @hudoro/pagination

Usage/Examples (you can combine using icon package hudoro)

import React from "react";
import {Pagination} from "@hudoro/pagination";
import ReactDOM from "react-dom/client";
import {useState} from "react";

const App = () => {
  const [currentPage, setCurrentPage] = useState(1);
  return (
    <div>
      <h1>Pagination Progress Component</h1>
      <Pagination
        currentPage={currentPage}
        onPageChange={(e) => setCurrentPage(e)}
        totalCount={100}
      />
    </div>
  );
};

ReactDOM.createRoot(document.getElementById("app")!).render(<App />);


Props @hudoro/pagination

Props that you can pass to <Pagination {...props} />
Prop NameValuerequired
totalCountnumbertrue
siblingCountnumberfalse
currentPagenumbertrue
onPageChange(page: number) => voidtrue

FAQs

Package last updated on 07 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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