@ray-js/components 1.4.29 → 1.4.30

Sign up to get free protection for your applications and to get access to all the features.
package/lib/Icon/Icon.js CHANGED
@@ -8,10 +8,11 @@ const Icon = props => {
8
8
  type,
9
9
  size,
10
10
  color,
11
- style
11
+ style,
12
+ className
12
13
  } = props;
13
14
  return /*#__PURE__*/React.createElement(Text, {
14
- className: "iconfont ".concat(type),
15
+ className: "iconfont ".concat(type, " ").concat(className),
15
16
  style: _objectSpread(_objectSpread({}, style), {}, {
16
17
  color: "".concat(color),
17
18
  fontSize: "".concat(size, "px")
@@ -7,10 +7,11 @@ const Icon = props => {
7
7
  type,
8
8
  size,
9
9
  color,
10
- style
10
+ style,
11
+ className
11
12
  } = props;
12
13
  return /*#__PURE__*/React.createElement(Text, {
13
- className: "iconfont ".concat(type),
14
+ className: "iconfont ".concat(type, " ").concat(className),
14
15
  style: _objectSpread(_objectSpread({}, style), {}, {
15
16
  color: "".concat(color),
16
17
  fontSize: "".concat(size, "px")
@@ -8,10 +8,11 @@ const Icon = props => {
8
8
  type,
9
9
  size,
10
10
  color,
11
- style
11
+ style,
12
+ className
12
13
  } = props;
13
14
  return /*#__PURE__*/React.createElement(Text, {
14
- className: "iconfont ".concat(type),
15
+ className: "iconfont ".concat(type, " ").concat(className),
15
16
  style: _objectSpread(_objectSpread({}, style), {}, {
16
17
  color: "".concat(color),
17
18
  fontSize: "".concat(size, "px")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/components",
3
- "version": "1.4.29",
3
+ "version": "1.4.30",
4
4
  "description": "Ray basic components",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "@ray-core/macro": "^0.3.9",
31
31
  "@ray-core/wechat": "^0.3.9",
32
- "@ray-js/adapter": "^1.4.29",
33
- "@ray-js/framework-shared": "^1.4.29",
32
+ "@ray-js/adapter": "^1.4.30",
33
+ "@ray-js/framework-shared": "^1.4.30",
34
34
  "ahooks": "^3.7.8",
35
35
  "clsx": "^1.2.1",
36
36
  "core-js": "^3.35.0",
@@ -40,11 +40,11 @@
40
40
  "style-to-object": "^0.3.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@ray-js/cli": "^1.4.29"
43
+ "@ray-js/cli": "^1.4.30"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.org"
48
48
  },
49
- "gitHead": "0e8af1a5ca622d02dd56ae854f2da73faf5b1867"
49
+ "gitHead": "3fd8c1689f3cc6c461f192189056f67f6314f812"
50
50
  }