Skip to content

Commit 3849b6c

Browse files
committed
chore: add todos to pagination component
1 parent cb9ecff commit 3849b6c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

packages/kit-headless/src/components/pagination/pagination.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
import { $, component$, PropFunction, Component } from '@builder.io/qwik';
22
import { Button as HeadlessButton } from '@qwik-ui/primitives';
33

4+
/**
5+
* PAGINATION TODOs
6+
* - Get storybook testing to work
7+
*
8+
* PROPS
9+
* pageIndex: default pagination value
10+
* activeStyles: The styles of the active page button
11+
* normalStyles: The styles of the inactive page buttons
12+
* disabled: enable/disable paginator
13+
* color: primary | secondary
14+
* variant: outlined (show border without bg)
15+
* shape: rounded | square
16+
* size: 'sm' | 'md' | 'lg'
17+
* customArrowIcons: { previous, next }
18+
* paginationRange (see https://mui.com/material-ui/react-pagination/#pagination-ranges)
19+
*
20+
* EVENTS
21+
* onPageChange
22+
*
23+
*/
424
export interface IPaginationProps extends IGetPaginationItemsOptions {
525
pages: number;
626
page: number;

0 commit comments

Comments
 (0)