Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

347 B
Raw Blame
import { createContext } from 'react';
import { emptyFn } from '@/lib/utils';

export interface FullScreenLoaderContext {
    showLoader: (options?: { animated?: boolean }) => void;
    hideLoader: () => void;
}

export const fullScreenLoaderContext = createContext<FullScreenLoaderContext>({
    showLoader: emptyFn,
    hideLoader: emptyFn,
});