@logo-rn/logo-pager
v0.2.4
Published
<LogoPager/> is a component to show pagination for data table.
Downloads
7
Readme
@logo-rn/logo-pager
is a component to show pagination for data table.
Installation
Install the component:
npm i @logo-rn/logo-pager -s
Usage
Once installed, import the component in your application:
import {LogoPager} from '@logo-rn/logo-pager';
const [page, setPage] = useState(1)
//...
<LogoPager
page={page}
numberOfPage={3}
pagerAlignment="Center"
onChangePage={setPage}
id={"Pager"} />