Interface PaginationOptions

Interface defining the options for the Pagination component.

interface PaginationOptions {
    totalPages: number;
    currentUserPage: number;
    handlePageChange?: ((options: GeneratePageContentOptions) => Promise<void>);
    position?: "left" | "right" | "middle";
    location?: "top" | "bottom" | "middle";
    direction?: "horizontal" | "vertical";
    buttonsContainerStyle?: StyleProp<ViewStyle>;
    activePageStyle?: StyleProp<ViewStyle>;
    inactivePageStyle?: StyleProp<ViewStyle>;
    backgroundColor?: string;
    paginationHeight?: number;
    showAspect?: boolean;
    parameters: PaginationParameters;
}

Properties

totalPages: number
currentUserPage: number
handlePageChange?: ((options: GeneratePageContentOptions) => Promise<void>)
position?: "left" | "right" | "middle"
location?: "top" | "bottom" | "middle"
direction?: "horizontal" | "vertical"
buttonsContainerStyle?: StyleProp<ViewStyle>
activePageStyle?: StyleProp<ViewStyle>
inactivePageStyle?: StyleProp<ViewStyle>
backgroundColor?: string
paginationHeight?: number
showAspect?: boolean