kitten-components
Version:
Front-end components library
28 lines (26 loc) • 1.13 kB
JavaScript
import React from 'react'
import { Pagination } from 'kitten/components/navigation/pagination'
import { Row } from 'kitten/components/grid/row'
import { StyleRoot } from 'radium'
export const KarlPaginationExamples = () => (
<StyleRoot>
<Row>
<Pagination totalPages={1} currentPage={1} />
<Pagination totalPages={2} currentPage={1} />
<Pagination totalPages={2} currentPage={2} />
<Pagination totalPages={7} currentPage={1} />
<Pagination totalPages={42} currentPage={1} />
<Pagination totalPages={42} currentPage={2} />
<Pagination totalPages={42} currentPage={3} />
<Pagination totalPages={42} currentPage={4} />
<Pagination totalPages={42} currentPage={5} />
<Pagination totalPages={42} currentPage={6} />
<Pagination totalPages={42} currentPage={38} />
<Pagination totalPages={42} currentPage={39} />
<Pagination totalPages={42} currentPage={40} />
<Pagination totalPages={42} currentPage={41} />
<Pagination totalPages={42} currentPage={42} />
<Pagination totalPages={9999} currentPage={9042} />
</Row>
</StyleRoot>
)