@alobato/pagination

Pagination react component

Usage no npm install needed!

<script type="module">
  import alobatoPagination from 'https://cdn.skypack.dev/@alobato/pagination';
</script>

README

Pagination

Pagination react component

Note: This is using the new React Hooks API

You'll need to install react, react-dom, etc at ^16.8.0 or above

Install

yarn add @alobato/pagination

Usage

import Pagination from '@alobato/pagination'
import styled from 'styled-components/macro'
...
export default styled(Pagination)`
  display: flex;
  justify-content: center;
  ...