UNPKG

1.02 kBTypeScriptView Raw
1import React from 'react';
2import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
3export interface PageItemProps extends React.HTMLAttributes<HTMLElement>, BsPrefixPropsWithChildren {
4 disabled?: boolean;
5 active?: boolean;
6 activeLabel?: string;
7 href?: string;
8}
9declare type PageItem = BsPrefixRefForwardingComponent<'li', PageItemProps>;
10declare const PageItem: PageItem;
11export default PageItem;
12export declare const First: {
13 ({ children, ...props }: PageItemProps): JSX.Element;
14 displayName: string;
15};
16export declare const Prev: {
17 ({ children, ...props }: PageItemProps): JSX.Element;
18 displayName: string;
19};
20export declare const Ellipsis: {
21 ({ children, ...props }: PageItemProps): JSX.Element;
22 displayName: string;
23};
24export declare const Next: {
25 ({ children, ...props }: PageItemProps): JSX.Element;
26 displayName: string;
27};
28export declare const Last: {
29 ({ children, ...props }: PageItemProps): JSX.Element;
30 displayName: string;
31};