import { useXProviderContextData } from "../../x-provider/context.js";
import { computed } from "vue";
//#region components/_utils/hooks/use-x-component-config.ts
var defaultXComponentStyleConfig = {
	classes: {},
	styles: {},
	style: {},
	shortcutKeys: {}
};
function useXComponentConfig(component) {
	const xProviderContext = useXProviderContextData();
	return computed(() => {
		const componentConfig = xProviderContext.value?.[component] ?? {};
		return {
			...defaultXComponentStyleConfig,
			...componentConfig
		};
	});
}
//#endregion
export { useXComponentConfig as default };
