/* Copyright (c) 2018-2020 Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow import * as React from 'react'; import Pagination from './pagination.js'; import StatefulContainer from './stateful-container.js'; import type {StatefulPaginationPropsT} from './types.js'; export default function StatefulPagination({ numPages, initialState, stateReducer, onPageChange, ...props }: StatefulPaginationPropsT) { return ( {renderProps => ( )} ); } StatefulPagination.defaultProps = { initialState: { currentPage: 1, }, stateReducer: (changeType: *, changes: *) => changes, overrides: {}, }; declare var __DEV__: boolean; declare var __NODE__: boolean; declare var __BROWSER__: boolean;