React Native New Arch (#10980)
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
useRef,
|
||||
} from 'react'
|
||||
import {
|
||||
Reanimated3DefaultSpringConfig,
|
||||
type SharedValue,
|
||||
useSharedValue,
|
||||
withSpring,
|
||||
@@ -34,6 +35,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
|
||||
'worklet'
|
||||
footerMode.set(() =>
|
||||
withSpring(v ? 1 : 0, {
|
||||
...Reanimated3DefaultSpringConfig,
|
||||
overshootClamping: true,
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user