1.2.9 • Published 7 months ago
@ramazanncelik/react-custompagination v1.2.9
@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
7 months ago
1.2.7
7 months ago
1.2.6
7 months ago
1.2.5
7 months ago
1.2.4
7 months ago
1.2.3
7 months ago
1.2.2
7 months ago
1.2.1
7 months ago
1.2.0
7 months ago
1.1.9
7 months ago
1.1.8
7 months ago
1.1.7
7 months ago
1.1.6
7 months ago
1.1.5
7 months ago
1.1.4
7 months ago
1.1.3
7 months ago
1.1.2
7 months ago
1.1.1
7 months ago
1.1.0
7 months ago
1.0.0
7 months ago