baseui
Version:
A React Component library implementing the Base design language
16 lines (15 loc) • 666 B
TypeScript
import * as React from 'react';
import { STATE_CHANGE_TYPE } from './constants';
import type { StatefulContainerProps, StatefulContainerState } from './types';
export default class PaginationStatefulContainer extends React.Component<StatefulContainerProps, StatefulContainerState> {
static defaultProps: {
initialState: {
currentPage: number;
};
stateReducer: (changeType: any, changes: any) => any;
};
state: StatefulContainerState;
internalSetState(changeType: keyof typeof STATE_CHANGE_TYPE, changes: StatefulContainerState): void;
onPageChange: StatefulContainerProps['onPageChange'];
render(): any;
}