jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
20 lines (19 loc) • 887 B
TypeScript
import React from 'react';
import type { IScopedContext } from 'jamis-core';
import { ScopedContext } from 'jamis-core';
import type { PaginationWrapProps } from '../types';
declare class PaginationWrapper extends React.Component<PaginationWrapProps> {
static defaultProps: Partial<PaginationWrapProps>;
constructor(props: PaginationWrapProps);
componentDidUpdate(prevProps: PaginationWrapProps): void;
render(): JSX.Element;
}
export declare class PaginationWrapperRenderer extends PaginationWrapper {
context: React.ContextType<typeof ScopedContext>;
static contextType: React.Context<IScopedContext<import("jamis-core").ScopedComponentType>>;
constructor(props: PaginationWrapProps, context: IScopedContext);
componentWillUnmount(): void;
reloadTarget(target: string, data?: any): void;
setData(values: Record<string, any>): void;
}
export {};