@react-types/shared 3.0.0-nightly.2926 → 3.0.0-nightly.2931

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/shared",
3
- "version": "3.0.0-nightly.2926+8d4f40733",
3
+ "version": "3.0.0-nightly.2931+2bda4c971",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -14,5 +14,5 @@
14
14
  "publishConfig": {
15
15
  "access": "public"
16
16
  },
17
- "gitHead": "8d4f4073317363e28fb98e1b9721302273a45371"
17
+ "gitHead": "2bda4c971dd557be7ecc44614569a8281e6cb6dd"
18
18
  }
@@ -194,5 +194,7 @@ export interface Node<T> {
194
194
  /** Additional properties specific to a particular node type. */
195
195
  props?: any,
196
196
  /** @private */
197
- shouldInvalidate?: (context: unknown) => boolean
197
+ shouldInvalidate?: (context: unknown) => boolean,
198
+ /** A function that renders this node to a React Element in the DOM. */
199
+ render?: (node: Node<any>) => ReactElement
198
200
  }