UNPKG

747 BTypeScriptView Raw
1import PageItem, { Ellipsis, First, Last, Next, Prev } from './PageItem';
2import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
3export interface PaginationProps extends BsPrefixPropsWithChildren {
4 size?: 'sm' | 'lg';
5}
6declare type Pagination = BsPrefixRefForwardingComponent<'ul', PaginationProps> & {
7 First: typeof First;
8 Prev: typeof Prev;
9 Ellipsis: typeof Ellipsis;
10 Item: typeof PageItem;
11 Next: typeof Next;
12 Last: typeof Last;
13};
14/**
15 * @property {PageItem} Item
16 * @property {PageItem} First
17 * @property {PageItem} Prev
18 * @property {PageItem} Ellipsis
19 * @property {PageItem} Next
20 * @property {PageItem} Last
21 */
22declare const Pagination: Pagination;
23export default Pagination;