element-plus
Version:
A Component Library for Vue 3
16 lines (13 loc) • 367 B
JavaScript
import { inject } from 'vue';
import '../../tokens/index.mjs';
import { configProviderContextKey } from '../../tokens/config-provider.mjs';
const defaultConfig = {
button: {
autoInsertSpace: true
}
};
const useGlobalConfig = () => {
return inject(configProviderContextKey, defaultConfig);
};
export { useGlobalConfig };
//# sourceMappingURL=index.mjs.map