\n {pageInfo.totalResults\n ? `${rangeText} of ${pageInfo.totalResults}`\n : rangeText}\n
\n ) : null}\n >\n );\n }\n\n private previousPage() {\n const { pageInfo, updatePage } = this.props;\n const page = pageInfo && pageInfo.page;\n typeof page !== \"undefined\" &&\n updatePage(page && page >= 1 ? page - 1 : page || 1);\n }\n\n private nextPage() {\n const { pageInfo, updatePage } = this.props;\n pageInfo && updatePage((pageInfo.page || 1) + 1);\n }\n}\n\nexport default PagingButtons;\n","import { DocumentNode, WatchQueryFetchPolicy } from \"apollo-boost\";\nimport * as React from \"react\";\nimport { useApolloClient, useQuery } from \"react-apollo\";\nimport PageVisibility, { usePageVisibility } from \"react-page-visibility\";\nimport { Col, Row } from \"reactstrap\";\nimport { cleanNumber } from \"../../utils\";\nimport { useLoggedInUser } from \"../LoggedInUserQuery\";\nimport {\n CompositeComponent,\n ContextNames,\n PagedArgs,\n SearchResults,\n User,\n} from \"../types\";\nimport PagedListItemLoadingPlaceholder from \"./PagedListItemLoadingPlaceholder\";\nimport PagedListItemNoItemsPlaceholder from \"./PagedListItemNoItemsPlaceholder\";\nimport { PagingButtonsField } from \"./PagingButtons\";\n\ninterface PagedListProps<\n TData extends {},\n TEntity,\n TVariables extends { input: PagedArgs }\n> {\n actionButtonsComponent?: CompositeComponent<{\n variables?: TVariables;\n results?: SearchResultsNo results found
\n