/**
 * ldesign v0.2.3
 * (c) 2022年9月24日 swimly
 * @license MIT
 */

import '@vue/composition-api';
import { useConfig } from '../components/config-provider/useConfig.js';
import '../components/config-provider/context.js';
import 'lodash';
import '../_chunks/dep-b1584b65.js';

function useGlobalIcon(ldIcon) {
  const {
    global
  } = useConfig("icon");
  const resultIcon = {};
  Object.keys(ldIcon).forEach(key => {
    var _global$value;

    resultIcon[key] = ((_global$value = global.value) === null || _global$value === void 0 ? void 0 : _global$value[key]) || ldIcon[key];
  });
  return resultIcon;
}

export { useGlobalIcon };
//# sourceMappingURL=use-global-icon.js.map
