Download react-spring/packages/animated/src/context.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/packages/animated/src/context.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/packages/animated/src/context.ts
-
curl -L -o context.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-spring/packages/animated/src/context.ts
351 Bytes
| 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 } | |