drf-react-by-schema
Version:
Components and Tools for building a React App having Django Rest Framework (DRF) as server
12 lines • 548 B
TypeScript
import React from 'react';
import { DialogType, SnackBarType } from './APIWrapperContext';
interface APIWrapperProps {
handleLoading: (x: boolean) => void;
setSnackBar: (x: Partial<SnackBarType>) => void;
setDialog: (x: Partial<DialogType>) => void;
children: React.ReactNode;
}
declare function APIWrapper({ handleLoading, setSnackBar, setDialog, children }: APIWrapperProps): React.JSX.Element;
declare const _default: React.MemoExoticComponent<typeof APIWrapper>;
export default _default;
//# sourceMappingURL=APIWrapper.d.ts.map