import { ParrotTrans } from '../../core/ParrotTrans/index.js';
import Tag from '../../core/Tag/index.js';
import React__default from 'react';

var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __objRest = (source, exclude) => {
  var target = {};
  for (var prop in source) if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
  if (source != null && __getOwnPropSymbols) for (var prop of __getOwnPropSymbols(source)) {
    if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) target[prop] = source[prop];
  }
  return target;
};
const tagStyle = "E_4100_0_7_tqjc4ui";
const I18nNameTag = props => {
  const _a = props,
    {
      name,
      i18nKey
    } = _a,
    otherOption = __objRest(_a, ["name", "i18nKey"]);
  return /* @__PURE__ */React__default.createElement(ParrotTrans, {
    i18nKey,
    tOptions: otherOption
  }, "h", /* @__PURE__ */React__default.createElement(Tag.NameTag, {
    className: tagStyle
  }, {
    name
  }));
};
var I18nNameTag$1 = I18nNameTag;

export { I18nNameTag$1 as default };
