flowbite-qwik
Version:
Official Qwik components built for Flowbite and Tailwind CSS
18 lines (17 loc) • 664 B
TypeScript
import { Component, PropsOf, QRL, Signal } from '@builder.io/qwik';
import { PaginationButtonProps } from './PaginationButton';
import { IconProps } from 'flowbite-qwik-icons';
type PaginationProps = PropsOf<'nav'> & {
currentPage: Signal<number>;
layout?: 'navigation' | 'pagination' | 'table';
nextLabel?: string;
onPageChange$?: QRL<(page: number) => void>;
previousLabel?: string;
showIcons?: boolean;
totalPages: number;
paginationButton?: Component<PaginationButtonProps>;
nextIcon?: Component<IconProps>;
previousIcon?: Component<IconProps>;
};
export declare const Pagination: Component<PaginationProps>;
export {};