Socket
Book a DemoInstallSign in
Socket

ab-paginate

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab-paginate

react js paginate

0.2.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source
@abasb75/paginate react js paginate

this package replaced with @abasb75/paginate


npm install @abasb75/paginate --save

usage example :


import { useState } from 'react';

import {ABPaginate} from "@abasb75/paginate"; 

function App() {

  const [activePage,setActivePage] = useState(1);
  const pageRangeDisplayed = 4;

  return (<>
    <h1>page : {activePage}</h1>

    <ABPaginate
      activePage={activePage}
      lastPage={10}
      pageRangeDisplayed={pageRangeDisplayed}
      onChange={setActivePage}

    />
    
  </>
    
    
  );
}

export default App;

props :

Properties

PropertyPropTypeRequiredDefaultDescription
activePagenumber1
lastPagenumber1
pageRangeDisplayednumber4
onChangefunc()=>{}
listClassNamestring'ab-paginate-list-2857373'
itemClassNamestring'ab-paginate-item-1683646'
nextClassNamestring'ab-paginate-next-1837342'
previousClassNamestring'ab-paginate-prev-5567886'
firstClassNamestring'ab-paginate-first-3873878'
lastClassNamestring'ab-paginate-last-8866568'
disabledFirstClassNamestring'ab-paginate-dfirst-3203808'
disabledLastClassNamestring'ab-paginate-dlast-8843780'
disabledPreviousClassNamestring'ab-paginate-prev-4034800'
disabledNextClassNamestring'ab-paginate-next-1324686'
activeItemClassNamestring'ab-paginate-actv-5623876'
breakClassNamestring'ab-paginate-brek-4343078'
showNextPagebooltrue
showPreviousPagebooltrue
showFirstPagebooltrue
showLastPagebooltrue
nextPageLabelstring'next >'
previousPageLabelstring'< previous'
firstPageLabelstring'<<'
lastPageLabelstring'>>'
breakLabelstring'...'

Keywords

paginate

FAQs

Package last updated on 08 Apr 2023

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.