Allows more customization of the pagination dropdown toggle. The following properties should be passed into the pagination component's toggleTemplate property.

interface PaginationToggleTemplateProps {
    firstIndex?: number;
    itemCount?: number;
    itemsTitle?: string;
    lastIndex?: number;
    ofWord?: ReactNode;
}

Properties

firstIndex?: number

The first index of the items being paginated

itemCount?: number

The total number of items being paginated

itemsTitle?: string

The type or title of the items being paginated

lastIndex?: number

The last index of the items being paginated

ofWord?: ReactNode

The word that joins the index and itemCount/itemsTitle