Skip to content

Commit 843cad0

Browse files
committed
Upgrade react-spring to v9.0.0-rc.3
pmndrs/react-spring#985
1 parent 5bfca2b commit 843cad0

File tree

9 files changed

+335
-421
lines changed

9 files changed

+335
-421
lines changed

packages/components/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"@bugsnag/plugin-react": "6.4.0",
1717
"@devhub/core": "0.101.0",
1818
"@octokit/rest": "16.43.1",
19+
"@react-spring/core": "9.0.0-rc.3",
20+
"@react-spring/native": "9.0.0-rc.3",
1921
"axios": "0.19.0",
2022
"fbemitter": "2.1.1",
2123
"flatted": "2.0.1",
@@ -31,7 +33,6 @@
3133
"react-helmet-async": "1.0.3",
3234
"react-native-appearance": "0.3.4",
3335
"react-redux": "7.1.1",
34-
"react-spring": "9.0.0-beta.34",
3536
"react-test-renderer": "16.13.1",
3637
"react-window": "1.8.5",
3738
"redux": "4.0.4",

packages/components/src/components/animated/spring/helpers.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { ReactType } from 'react'
2-
import { animated } from 'react-spring/native'
1+
import { ElementType } from 'react'
2+
import { animated } from '@react-spring/native'
33

4-
export function createSpringAnimatedComponent<T extends ReactType<any>>(
4+
export function createSpringAnimatedComponent<T extends ElementType<any>>(
55
component: T,
66
) {
77
// TODO: Fix type definition

0 commit comments

Comments
 (0)