UNPKG

@codelet/core

Version:
12 lines (11 loc) 368 B
import { definePlugin } from '../../utils'; import { hideLoadingPlugin } from './hideLoading'; import { showLoadingPlugin } from './showLoading'; export * from './hideLoading'; export * from './showLoading'; export const apiOverwrite = definePlugin((col) => { ; [hideLoadingPlugin, showLoadingPlugin].forEach((plugin) => { col.use(plugin); }); });