teko-file-history
Version:
File history component for Teko system
13 lines (12 loc) • 683 B
TypeScript
/// <reference types="react" />
import { BaseUIConfig, BaseUploaderProps, ClassName, FileHistoryProps } from '../types';
export type StoreContextType = Omit<FileHistoryProps, 'isOverwriteDBConfig' | 'classNames'> & {
tableProps: FileHistoryProps['tableProps'] & Required<BaseUIConfig>;
uploaderProps: FileHistoryProps['uploaderProps'] & Required<BaseUploaderProps>;
classNames: Required<ClassName>;
shouldReload: boolean;
setShouldReload: (value: boolean) => void;
translate: (key: string) => string;
};
export declare const storeContextDefaultValue: StoreContextType;
export declare const StoreContext: import("react").Context<StoreContextType>;