File size: 371 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import {
  Globals,
  frameLoop,
  createStringInterpolator,
} from '@react-spring/shared'
import { Interpolation } from './Interpolation'

// Sane defaults
Globals.assign({
  createStringInterpolator,
  to: (source, args) => new Interpolation(source, args),
})

export { Globals }

/** Advance all animations by the given time */
export const update = frameLoop.advance