@react-types/shared 3.0.0-nightly.2928 → 3.0.0-nightly.2932
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 +2 -2
- package/src/collections.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/shared",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.2932+d7fc93273",
|
|
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": "
|
|
17
|
+
"gitHead": "d7fc93273ec4956fbf3a48f18aee314e480de572"
|
|
18
18
|
}
|
package/src/collections.d.ts
CHANGED
|
@@ -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
|
}
|