File size: 351 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import { FluidValue } from '@react-spring/shared'

export type TreeContext = {
  /**
   * Any animated values found when updating the payload of an `AnimatedObject`
   * are also added to this `Set` to be observed by an animated component.
   */
  dependencies: Set<FluidValue> | null
}

export const TreeContext: TreeContext = { dependencies: null }