@ray-js/adapter 0.9.6 → 0.9.7

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.
@@ -13,6 +13,8 @@ export interface BaseProps {
13
13
  hidden?: boolean;
14
14
  /** 动画对象: 由`ty.createAnimation`创建 */
15
15
  animation?: Array<Record<string, any>>;
16
+ /** 子节点 children */
17
+ children?: React.ReactNode;
16
18
  /** 点击时触发 */
17
19
  onTap?: (event: TouchEvent) => void;
18
20
  /** 点击时触发 */
@@ -13,6 +13,8 @@ export interface BaseProps {
13
13
  hidden?: boolean;
14
14
  /** 动画对象: 由`ty.createAnimation`创建 */
15
15
  animation?: Array<Record<string, any>>;
16
+ /** 子节点 children */
17
+ children?: React.ReactNode;
16
18
  /** 点击时触发 */
17
19
  onTap?: (event: TouchEvent) => void;
18
20
  /** 点击时触发 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/adapter",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "description": "Ray adapter for tuya",
5
5
  "keywords": [
6
6
  "ray"
@@ -21,7 +21,7 @@
21
21
  "watch": "concurrently 'yarn build:cjs --watch' 'yarn build:esm --watch'"
22
22
  },
23
23
  "devDependencies": {
24
- "@ray-js/types": "^0.9.6",
24
+ "@ray-js/types": "^0.9.7",
25
25
  "concurrently": "^6.2.1"
26
26
  },
27
27
  "maintainers": [
@@ -35,6 +35,6 @@
35
35
  "@ray-core/shared": "^0.1.3",
36
36
  "@ray-core/types": "^0.1.3"
37
37
  },
38
- "gitHead": "414d5bc3f9576514f753c57b3d17b5da4be5f042",
38
+ "gitHead": "f35729a86250d6ea9ad727e80cdffd95e888d95d",
39
39
  "repository": {}
40
40
  }