Skip to content

Commit 38f952b

Browse files
committed
nit: shorten legacy imports
1 parent d9e2bb6 commit 38f952b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/targets/cookbook/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { useSprings } from '../../useSprings'
2323
import { useTrail } from '../../useTrail'
2424
import { useTransition } from '../../useTransition'
2525

26-
export { Spring, Trail, Transition } from '../../legacy'
26+
export * from '../../legacy'
2727
export {
2828
Globals,
2929
AnimatedInterpolation,

src/targets/konva/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const konvaAnimated = withExtend(animated as AnimatedWithKonvaElements).extend(
7171
/** @deprecated Use `animated.extend` instead */
7272
export const apply = konvaAnimated.extend
7373

74-
export { Spring, Trail, Transition } from '../../legacy'
74+
export * from '../../legacy'
7575
export {
7676
config,
7777
konvaAnimated as animated,

src/targets/native/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const nativeAnimated = withExtend(animated).extend(View, Text)
3636
/** @deprecated Use `animated.extend` instead */
3737
export const apply = nativeAnimated.extend
3838

39-
export { Spring, Trail, Transition } from '../../legacy'
39+
export * from '../../legacy'
4040
export {
4141
config,
4242
nativeAnimated as animated,

src/targets/three/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Globals.assign({
3131
/** @deprecated Use `animated.extend` instead */
3232
export const apply = threeAnimated.extend
3333

34-
export { Spring, Trail, Transition } from '../../legacy'
34+
export * from '../../legacy'
3535
export {
3636
update,
3737
config,

src/targets/universal/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const Interpolation = {
5050
create: createInterpolator,
5151
}
5252

53-
export { Spring, Trail, Transition } from '../../legacy'
53+
export * from '../../legacy'
5454
export {
5555
config,
5656
animatedFn as animated,

0 commit comments

Comments
 (0)