@codelet/core
Version:
mini core
12 lines (11 loc) • 368 B
JavaScript
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);
});
});