@arco-iconbox/react-coze 0.0.6 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,7 +49,7 @@ var react_1 = __importStar(require("react"));
49
49
  var context_1 = require("../context");
50
50
  function IconCozThinkingDarkComponent(props, ref) {
51
51
  var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
52
- var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
52
+ var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? false : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
53
53
  var prefix = prefixFromProps || prefixFromContext || 'font';
54
54
  var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
55
55
  return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-coz_thinking_dark").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
@@ -49,7 +49,7 @@ var react_1 = __importStar(require("react"));
49
49
  var context_1 = require("../context");
50
50
  function IconCozThinkingLightComponent(props, ref) {
51
51
  var prefixFromContext = (0, react_1.useContext)(context_1.Context).prefix;
52
- var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
52
+ var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? false : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
53
53
  var prefix = prefixFromProps || prefixFromContext || 'font';
54
54
  var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
55
55
  return react_1.default.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-coz_thinking_light").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),