1.2.9 • Published 12 months ago

@ramazanncelik/react-custompagination v1.2.9

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

@ramazanncelik/react-custompagination

React Custom Pagination

Setup

You can install the package using npm or yarn:

npm i @ramazanncelik/react-custompagination react-icons

or

yarn add @ramazanncelik/react-custompagination react-icons

Usage

import { CustomPagination } from '@ramazanncelik/react-custompagination'
import { useState } from 'react';

export default function App() {

  const [currentPage, setCurrentPage] = useState(1)

  return (
    <div>
      <CustomPagination
        width={36}
        height={36}
        borderWidth={1}
        iconSize={16}
        textSize={16}
        activeBordercolor='orange'
        inActiveBordercolor='gray'
        activeBackgroundcolor='orange'
        activeTextcolor='white'
        currentPage={currentPage}
        inActiveBackgroundcolor='white'
        inActiveTextcolor='black'
        setCurrentPage={setCurrentPage}
        borderRadius={10}
        totalPage={100} />
    </div>
  );
}
1.2.9

12 months ago

1.2.7

12 months ago

1.2.6

12 months ago

1.2.5

12 months ago

1.2.4

12 months ago

1.2.3

12 months ago

1.2.2

12 months ago

1.2.1

12 months ago

1.2.0

12 months ago

1.1.9

12 months ago

1.1.8

12 months ago

1.1.7

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago

1.0.0

12 months ago