We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ef438 commit 04379a9Copy full SHA for 04379a9
spring/src/index.ts
@@ -5,6 +5,7 @@ export { config } from "./utils";
5
import { AnimatedStyle } from "./AnimatedStyle";
6
import { applyAnimatedValues } from "./applyAnimatedValues";
7
import { createHost, WithAnimated } from "./createHost";
8
+import { Interpolation } from "./Interpolation";
9
import { primitives } from "./primitives";
10
11
const host = createHost(primitives, {
@@ -14,5 +15,6 @@ const host = createHost(primitives, {
14
15
});
16
17
export const animated = host.animated as WithAnimated;
-export { to } from "./globals";
18
+export const to = (source: any, ...args: [any]) =>
19
+ new Interpolation(source, args);
20
export { animated as a };
0 commit comments