UNPKG

drf-react-by-schema

Version:

Components and Tools for building a React App having Django Rest Framework (DRF) as server

12 lines 576 B
import React from 'react'; import { DialogType, SnackBarType } from './APIWrapperContext'; interface APIWrapperProps { handleLoading: (x: boolean) => void; setSnackBar: (x: Partial<SnackBarType>) => void; setDialog: React.ActionDispatch<[newState: Partial<DialogType> | null]>; 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