An open API service indexing awesome lists of open source software.

https://github.com/hipstersmoothie/bulma-pagination-react

Bulma pagination as a react component.
https://github.com/hipstersmoothie/bulma-pagination-react

Last synced: 10 days ago
JSON representation

Bulma pagination as a react component.

Awesome Lists containing this project

README

        



bulma-pagination-react


{
const pages = Math.ceil(posts.length / perPage);

return (
console.log(`/blog?page=${page}`)}
/>
);
};

export default Pager;
```

### onChange

Function called when a button or page link is clicked. The only argument supplied to the function is the new page number.

### visibleRadius

Modify how many page elements are visible in the pagination component. Defaults to 1.

### className

`bulma-pagination-react` has classes that effect all elements in the component.

- className: ClassName for the wrapper
- prevClassName: ClassName for the previous button
- nextClassName: ClassName for the next button
- linkClassName: ClassName for each page link
- listClassName: ClassName for the list of page links