'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
require('../../../theme/index.cjs');
var index$1 = require('../../../theme/style/index.cjs');
var internal = require('../../../theme/token/internal.cjs');
var index = require('../../../theme/cssinjs/hooks/useStyleRegister/index.cjs');

function useStyle(iconPrefixCls) {
  const [theme, token] = internal.useToken();
  return index.default(
    vue.computed(() => ({
      theme: theme.value,
      token: token.value,
      hashId: "",
      path: ["ant-design-icons", iconPrefixCls.value]
    })),
    () => [
      {
        [`.${iconPrefixCls.value}`]: {
          ...index$1.resetIcon(),
          [`.${iconPrefixCls.value} .${iconPrefixCls.value}-icon`]: {
            display: "block"
          }
        }
      }
    ]
  );
}

exports.default = useStyle;
//# sourceMappingURL=index.cjs.map
