Skip to main content
Version: Next

SearchPaginationBaseProps

Home > @backstage/plugin-search-react > SearchPaginationBaseProps

Props for SearchPaginationBase().

Signature:

export type SearchPaginationBaseProps = {
className?: string;
total?: number;
cursor?: string;
hasNextPage?: boolean;
onCursorChange?: (pageCursor: string) => void;
limit?: number;
limitLabel?: ReactNode;
limitText?: SearchPaginationLimitText;
limitOptions?: SearchPaginationLimitOption[];
onLimitChange?: (value: number) => void;
};

References: SearchPaginationLimitText, SearchPaginationLimitOption