Skip to content

Commit d2bcc82

Browse files
committed
context
1 parent f6cb851 commit d2bcc82

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

spring/src/context.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { FluidValue } from "./fluids"
2+
3+
export type TreeContext = {
4+
/**
5+
* Any animated values found when updating the payload of an `AnimatedObject`
6+
* are also added to this `Set` to be observed by an animated component.
7+
*/
8+
dependencies: Set<FluidValue> | null
9+
}
10+
11+
export const TreeContext: TreeContext = { dependencies: null }

0 commit comments

Comments
 (0)