hongluan-ui
Version:
Hongluan Component Library for Vue 3
14 lines (11 loc) • 346 B
JavaScript
import '../../../hooks/index.mjs';
import { useGlobalConfig } from '../../../hooks/use-global-config/index.mjs';
function useCustomIcon(name) {
var _a;
const $HL = useGlobalConfig();
return {
CustomIcon: (_a = $HL.value.systemIcons) == null ? void 0 : _a[name]
};
}
export { useCustomIcon };
//# sourceMappingURL=use-custom.mjs.map